Skip to content

Conversation

david-hamilton-glean
Copy link
Member

@david-hamilton-glean david-hamilton-glean commented Jul 14, 2025

Request offline_access scope by default. Several providers require this in order to issue refresh tokens, which we depend on.

Our OAuth support requires refresh tokens, which generally requires the
`offline_access` scope. Update `getOAuthScopes` to request this for
unknown issuers.

So far it seems only Google requires its own scopes.
@david-hamilton-glean david-hamilton-glean force-pushed the codex/hjdivad/fix-getoauthscopes-to-include-offline_access branch from 3cb813a to bbf7269 Compare July 14, 2025 23:33
@david-hamilton-glean david-hamilton-glean changed the title Fix OAuth default scopes Fix Azure OAuth support Jul 14, 2025
@david-hamilton-glean david-hamilton-glean added the bug Something isn't working label Jul 14, 2025
@david-hamilton-glean david-hamilton-glean merged commit 2dfbb9a into main Jul 15, 2025
3 checks passed
@david-hamilton-glean david-hamilton-glean deleted the codex/hjdivad/fix-getoauthscopes-to-include-offline_access branch July 15, 2025 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working codex
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants