Skip to content

Commit a6581c7

Browse files
authored
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.
1 parent 855fb87 commit a6581c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/admin/users/oidc-auth/microsoft.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ CODER_OIDC_ICON_URL=/icon/microsoft.svg
4444

4545
```env
4646
# Keep standard scopes
47-
CODER_OIDC_SCOPES=openid,profile,email
47+
CODER_OIDC_SCOPES=openid,profile,email,offline_access
4848
```
4949

5050
After changing settings, users must log out and back in once to obtain refresh tokens

0 commit comments

Comments
 (0)