Skip to content
Snippets Groups Projects
Commit 7052b23e authored by Art's avatar Art :lizard:
Browse files

Add a workaround where entityID is not a valid metadata URL

parent 18504bf4
Branches
Tags
No related merge requests found
...@@ -40,7 +40,7 @@ ONELOGIN_SETTINGS_TEMPLATE = { ...@@ -40,7 +40,7 @@ ONELOGIN_SETTINGS_TEMPLATE = {
"NameIDFormat": onelogin_constants.NAMEID_TRANSIENT, "NameIDFormat": onelogin_constants.NAMEID_TRANSIENT,
}, },
"idp": { "idp": {
"entityId": IDP_META_URL, "entityId": IDP_ENTITY_ID or IDP_META_URL,
"x509certMulti": { "x509certMulti": {
"signing": _SET_ON_RUNTIME or dict(), "signing": _SET_ON_RUNTIME or dict(),
"encryption": _SET_ON_RUNTIME or dict(), "encryption": _SET_ON_RUNTIME or dict(),
......
...@@ -20,6 +20,7 @@ SP_PORT = 443 ...@@ -20,6 +20,7 @@ SP_PORT = 443
SP_SSL = True SP_SSL = True
IDP_META_URL = None # e.g. "https://idp-test.hs-hannover.de/idp/shibboleth" IDP_META_URL = None # e.g. "https://idp-test.hs-hannover.de/idp/shibboleth"
IDP_ENTITY_ID = IDP_META_URL # these must normally be the same, but a workaround is required as of 18.03.2024
IDP_LOGOUT_URL = None # e.g. "https://idp-test.it.hs-hannover.de/idp/profile/Logout" IDP_LOGOUT_URL = None # e.g. "https://idp-test.it.hs-hannover.de/idp/profile/Logout"
SP_KEY = "{project_settings}/cert/sp.key" SP_KEY = "{project_settings}/cert/sp.key"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment