Skip to content

chore: update IdP docs with Google quirks #18318

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 11, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
redo
  • Loading branch information
deansheather committed Jun 11, 2025
commit c9933ae06e331aeaca05db5fa40813037f79cc28
10 changes: 6 additions & 4 deletions docs/admin/users/idp-sync.md
Original file line number Diff line number Diff line change
Expand Up @@ -598,10 +598,12 @@ refresh tokens for offline access to the user's resources.

### Google

If you're using Google directly, you will likely want to set `prompt=consent` on
your auth URL to ensure you get refresh tokens. Without this, users will be
logged out of Coder after 1 hour.
To ensure Coder receives a refresh token when users authenticate with Google
directly, set the `prompt` to `consent` in the auth URL parameters. Without
this, users will be logged out after 1 hour.

In your Coder configuration:

```
CODER_OIDC_AUTH_URL_PARAMS={"access_type": "offline", "prompt": "consent"}
CODER_OIDC_AUTH_URL_PARAMS='{"access_type": "offline", "prompt": "consent"}'
```
Loading