Publishing
See wxt.dev for more information.
Chrome Web Store
INFO
For first time setup, please refer to the Chrome Web Store docs
Useful links:
This documentation exists as the CWS API keys seem to invalidate after one month of activity. To fix this:
- Go to the Google Cloud Console ->
Select Schooltape
->Credentials
->Schooltape
and take note of the client ID and client secret. - Open https://developers.google.com/oauthplayground.
- Click the settings icon in the top right, and choose "Use your own OAuth credentials".
- Enter your client ID and client secret.
- Add
https://www.googleapis.com/auth/chromewebstore
to the "Input your own scopes" field. - Click "Authorize APIs".
- Follow the steps to sign in with your Google Account.
- Click "Exchange authorization code for tokens" to generate a new access token.
- Navigate to https://github.com/schooltape/schooltape/settings/secrets/actions
- Edit the following secrets:
CHROME_REFRESH_TOKEN
with the refresh token from the OAuth 2.0 Playground.
WARNING
If you get an error message, open a new window without cookies and try again. It is probably best to just do this in the first case.