File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -598,10 +598,12 @@ refresh tokens for offline access to the user's resources.
598
598
599
599
### Google
600
600
601
- If you' re using Google directly, you will likely want to set ` prompt=consent` on
602
- your auth URL to ensure you get refresh tokens. Without this, users will be
603
- logged out of Coder after 1 hour.
601
+ To ensure Coder receives a refresh token when users authenticate with Google
602
+ directly, set the `prompt` to `consent` in the auth URL parameters. Without
603
+ this, users will be logged out after 1 hour.
604
+
605
+ In your Coder configuration:
604
606
605
607
```
606
- CODER_OIDC_AUTH_URL_PARAMS={" access_type" : " offline" , " prompt" : " consent" }
608
+ CODER_OIDC_AUTH_URL_PARAMS=' {" access_type" : " offline" , " prompt" : " consent" }'
607
609
```
You can’t perform that action at this time.
0 commit comments