mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-11 22:52:54 +00:00
fix: enable follow_redirects in OAuth client manager
This commit is contained in:
parent
6c243664bc
commit
0e42b030c6
1 changed files with 1 additions and 0 deletions
|
|
@ -523,6 +523,7 @@ class OAuthClientManager:
|
|||
'client_id': oauth_client_info.client_id,
|
||||
'client_secret': oauth_client_info.client_secret,
|
||||
'client_kwargs': {
|
||||
'follow_redirects': True,
|
||||
**({'scope': oauth_client_info.scope} if oauth_client_info.scope else {}),
|
||||
**(
|
||||
{'token_endpoint_auth_method': oauth_client_info.token_endpoint_auth_method}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue