mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
chore: update OIDC scopes to include offline_access (#20876)
This is an update to https://coder.com/docs/admin/users/oidc-auth/microsoft#enable-refresh-tokens-recommended. We recommend users enable refresh tokens but don't actually give them the env var value to add. https://coder.com/docs/admin/users/oidc-auth/refresh-tokens does a good job of including `offline_access` in the list, so the first page should align with this.
This commit is contained in:
@@ -44,7 +44,7 @@ CODER_OIDC_ICON_URL=/icon/microsoft.svg
|
||||
|
||||
```env
|
||||
# Keep standard scopes
|
||||
CODER_OIDC_SCOPES=openid,profile,email
|
||||
CODER_OIDC_SCOPES=openid,profile,email,offline_access
|
||||
```
|
||||
|
||||
After changing settings, users must log out and back in once to obtain refresh tokens
|
||||
|
||||
Reference in New Issue
Block a user