Skip to content
Snippets Groups Projects

Resolve "[OAuth] .well-known must be mounted under /"

Merged Tom Teichler requested to merge 606-oauth-well-known-must-be-mounted-under into master
2 files
+ 9
0
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 4
0
@@ -408,6 +408,10 @@ elif _OIDC_RSA_KEY:
with open(_OIDC_RSA_KEY, "r") as f:
OAUTH2_PROVIDER["OIDC_RSA_PRIVATE_KEY"] = f.read()
OAUTH2_PROVIDER["OIDC_ISS_ENDPOINT"] = _settings.get(
"http.base_url", "http://localhost:8000" if DEBUG else f"https://{ALLOWED_HOSTS[0]}"
)
# Configuration for REST framework
REST_FRAMEWORK = {
"DEFAULT_AUTHENTICATION_CLASSES": [
Loading