This commit is contained in:
H.T. Kruitbosch 2017-11-15 15:33:03 +01:00
parent e519f5a839
commit 2c1a3b4766
4 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
__version__ = '0.1.8'
__version__ = '0.1.9'

View File

@ -74,7 +74,7 @@ SAML_PROVIDER_METADATA_URL = 'https://tst-idp.id.rug.nl/nidp/saml2/metadata'
SAML_ROUTE = 'sso/saml/'
SAML_REDIRECT = '/'
SAML_USERS_MAP = [{
"RuG" : {
"RuG": {
"email": dict(key="urn:mace:dir:attribute-def:mail", index=0),
"username": dict(key="urn:mace:dir:attribute-def:uid", index=0),
"first_name": dict(key="urn:mace:dir:attribute-def:givenName", index=0),
@ -155,7 +155,7 @@ SAML_PROVIDERS = [{
"entityId": "https://cosmo.service.rug.nl/rug-website/saml2/metadata",
# "entityId": "https://cosmo.service.rug.nl/rugwebsite/saml/metadata?provider=RuG",
"assertionConsumerService": {
"url": "https://cosmo.service.rug.nl/rugwebsite/sso/saml/?provider=RuG&acs",
"url": "https://cosmo.service.rug.nl/rugwebsite/sso/saml/?provider=RuG&acs",
"binding": "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
},
"singleLogoutService": {