mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
feat: new OAUTH_AUDIENCE config (#19768)
* feat: new config AUTH0_AUDIENCE * feat: OAUTH_AUDIENCE config
This commit is contained in:
@@ -629,6 +629,11 @@ OAUTH_ACCESS_TOKEN_REQUEST_INCLUDE_CLIENT_ID = (
|
||||
== "true"
|
||||
)
|
||||
|
||||
OAUTH_AUDIENCE = PersistentConfig(
|
||||
"OAUTH_AUDIENCE",
|
||||
"oauth.audience",
|
||||
os.environ.get("OAUTH_AUDIENCE", ""),
|
||||
)
|
||||
|
||||
def load_oauth_providers():
|
||||
OAUTH_PROVIDERS.clear()
|
||||
|
||||
Reference in New Issue
Block a user