Skip to content
Snippets Groups Projects
Commit 7249b2ec authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Serve wellknown under root

parent 0453659d
No related branches found
No related tags found
1 merge request!973Resolve "[OAuth] .well-known must be mounted under /"
Pipeline #54641 passed
......@@ -14,6 +14,11 @@ Changed
* Added a `Retry` button to the server error page
Fixed
~~~~~
* Serve OAuth discovery information under root of domain
`2.7.4`_ - 2022-02-09
---------------------
......
......@@ -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": [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment