mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 04:15:25 +00:00
refac
This commit is contained in:
parent
98883a68f2
commit
3c7d01163d
1 changed files with 1 additions and 1 deletions
|
|
@ -1041,7 +1041,7 @@ class OAuthManager:
|
|||
raise HTTPException(404)
|
||||
# If the provider has a custom redirect URL, use that, otherwise automatically generate one
|
||||
redirect_uri = OAUTH_PROVIDERS[provider].get("redirect_uri") or request.url_for(
|
||||
"oauth_callback", provider=provider
|
||||
"oauth_login_callback", provider=provider
|
||||
)
|
||||
client = self.get_client(provider)
|
||||
if client is None:
|
||||
|
|
|
|||
Loading…
Reference in a new issue