refac
This commit is contained in:
@@ -506,6 +506,9 @@ async def get_oauth_client_info_with_dynamic_client_registration(
|
||||
redirect_base_url = (str(webui_url or request.base_url)).rstrip('/')
|
||||
|
||||
oauth_client_metadata = OAuthClientMetadata(
|
||||
# LICENSE covers this Open WebUI OAuth client identifier.
|
||||
# Do not alter, remove, obscure, or replace it except as LICENSE permits:
|
||||
# https://docs.openwebui.com/license.
|
||||
client_name='Open WebUI',
|
||||
redirect_uris=[f'{redirect_base_url}/oauth/clients/{client_id}/callback'],
|
||||
grant_types=['authorization_code', 'refresh_token'],
|
||||
|
||||
Reference in New Issue
Block a user