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:
Rowan Smith
2025-11-24 13:04:21 +11:00
committed by GitHub
parent 855fb8704c
commit a6581c7157
+1 -1
View File
@@ -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