8000 redo · coder/coder@c9933ae · GitHub
[go: up one dir, main page]

Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c9933ae

Browse files
committed
redo
1 parent d15c1d5 commit c9933ae

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/admin/users/idp-sync.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -598,10 +598,12 @@ refresh tokens for offline access to the user's resources.
598598
599599
### Google
600600
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:
604606
605607
```
606-
CODER_OIDC_AUTH_URL_PARAMS={"access_type": "offline", "prompt": "consent"}
608+
CODER_OIDC_AUTH_URL_PARAMS='{"access_type": "offline", "prompt": "consent"}'
607609
```

0 commit comments

Comments
 (0)
0