forked from Chainlit/chainlit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add refresh token support for Azure AD OAuth provider (Chainlit#1599)
* feat(oauth): add refresh token support to Azure AD provider - Store refresh token from OAuth response in provider instance - Add refresh token to user metadata in get_user_info method - Enable offline_access scope to receive refresh tokens This enhancement allows applications to persist refresh tokens for maintaining long-term access to Azure AD resources. * Add 'offline_access' scope to enable refresh token support. * add refresh token support to AzureADHybridOauthProvider class * Apply Black formatting to oauth_providers.py --------- Co-authored-by: Mathijs de Bruin <[email protected]>
- Loading branch information
1 parent
a3ecfb2
commit f308392
Showing
1 changed file
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters