Skip to content

Commit 6fc495a

Browse files
authored
Merge pull request #2560 from Angus-repo/aaps-ci-troubleshooting
Updated Google Refresh Token Expired troubleshooting section
2 parents dce973c + 109bc16 commit 6fc495a

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

docs/EN/SettingUpAaps/BrowserBuild.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,15 @@ Variants ending with “Debug” indicates that the APK will be built in debug m
325325

326326
![aaps_ci_html_not_found](../images/Building-the-App/CI/aaps_ci_html_not_found.png)
327327

328+
(aaps-ci-google-token-expired)=
329+
### Google Refresh Token Expired
330+
- Google OAuth2 refresh tokens will expire if not used for 6 months, and may also become invalid under other conditions (e.g., you have changed your Google account password, or manually revoked access). For more details, see the [Google OAuth2 documentation](https://developers.google.com/identity/protocols/oauth2).
331+
- You will see an error indicating that the access token is invalid, as shown below:
332+
333+
![aaps_ci_token_expired](../images/Building-the-App/CI/aaps_ci_token_expired.jpg)
334+
335+
- If your build fails due to an expired or revoked Google refresh token, you will need to redo the [Google Drive Auth](#aaps-ci-google-drive-auth) steps to obtain a new `GDRIVE_OAUTH2` token and update the secret in your GitHub repository, then re-run the build workflow.
336+
328337
(aaps-ci-disable-software)=
329338
### Disable Software That May Interfere With OAUTH Verification
330339
- Disable any VPN or security app (firewall, antimalware,...) on the phone before trying to get the OAUTH key.
75.5 KB
Loading

0 commit comments

Comments
 (0)