feat: new OAUTH_AUDIENCE config (#19768)

* feat: new config AUTH0_AUDIENCE

* feat: OAUTH_AUDIENCE config
This commit is contained in:
bitsofinfo
2025-12-06 08:45:34 -07:00
committed by GitHub
parent 0617ede0eb
commit 492c8bac09
2 changed files with 13 additions and 1 deletions

View File

@@ -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()