KNF:SSO notificatie middels een redirect/en: verschil tussen versies

Uit Kennisnet Developers Documentatie
Naar navigatie springen Naar zoeken springen
Regel 3: Regel 3:
 
The SSO notification cookie can be placed, after the user has logged in on the schoolportal, with an redirect to Entree Federation.
 
The SSO notification cookie can be placed, after the user has logged in on the schoolportal, with an redirect to Entree Federation.
   
==Config redirect URL==
+
==Config redirect URL ==
The redirect URL had 4 parts:
+
The redirect URL has 4 parts:
 
# The Entree Federatie URL where the redirect will be redirected to.
 
# The Entree Federatie URL where the redirect will be redirected to.
#* For '''productie''': https://ssonot.aselect.entree.kennisnet.nl/openaselect/profiles/entree
 
#* For '''staging''': https://ssonot.aselect-s.entree.kennisnet.nl/openaselect/profiles/entree
 
 
# The unique identifier of the Identity Provider as known in Entree Federatie. This is the entity ID of the IdP and can be found here: https://aselect.entree.kennisnet.nl/openaselect/sso/wayfsearch2?type=getAll&spCode
 
# The unique identifier of the Identity Provider as known in Entree Federatie. This is the entity ID of the IdP and can be found here: https://aselect.entree.kennisnet.nl/openaselect/sso/wayfsearch2?type=getAll&spCode
 
# The URL (url-encoded) of the serveraddress where it comes from.
 
# The URL (url-encoded) of the serveraddress where it comes from.
 
# The redirectURI (url-encoded), this is the URL where the users goes to after the redirect. In most cases this is the same place, but if needed it can be somewhere else. This has to be an address owned by the school, it can't be the address of the Service Provider.
 
# The redirectURI (url-encoded), this is the URL where the users goes to after the redirect. In most cases this is the same place, but if needed it can be somewhere else. This has to be an address owned by the school, it can't be the address of the Service Provider.
  +
 
Important: Before you can use the SSO notification, the URL needs to be added to the whitelist. You can send the URL via an ticket [https://support.kennisnet.org/Tickets/Submit Kennisnet].
  +
  +
===New platform===
  +
# '''production''': <nowiki>https://ssonot.entree.kennisnet.nl/?id=<identifier van de IdP>&url=<url-encoded ELO URL>&redirectUri=<url-encoded redirect URL></nowiki>
  +
# '''staging''': there is no SSO notificatie service for staging (yet).
  +
  +
The redirect URL looks like this:<br>
  +
''<nowiki>https://ssonot.entree.kennisnet.nl/?id=<identifier van de IdP>&url=<url-encoded ELO URL>&redirectUri=<url-encoded redirect URL></nowiki>''
  +
  +
===Old platform===
 
# For '''productie''': https://ssonot.aselect.entree.kennisnet.nl/openaselect/profiles/entree
 
# For '''staging''': https://ssonot.aselect-s.entree.kennisnet.nl/openaselect/profiles/entree
   
 
The redirect URL will look like this:<br>
 
The redirect URL will look like this:<br>
 
''<nowiki>https://ssonot.aselect.entree.kennisnet.nl/openaselect/profiles/entree?id=<identifier van de IdP>&url=<url-encoded ELO URL>&redirectUri=<url-encoded redirect URL></nowiki>''
 
''<nowiki>https://ssonot.aselect.entree.kennisnet.nl/openaselect/profiles/entree?id=<identifier van de IdP>&url=<url-encoded ELO URL>&redirectUri=<url-encoded redirect URL></nowiki>''
 
Important: Before you can use the SSO notification, the URL needs to be added to the whitelist. You can send the URL via an ticket [https://support.kennisnet.org/Tickets/Submit Kennisnet].
 
   
 
==Examlple==
 
==Examlple==
 
In the example, this is the IdP identifier ''<nowiki>http://authenticate.example.org</nowiki>'', and this is de URL where the redirects starts ''<nowiki>http://www.example.org</nowiki>'' and this is the url where the user will be redirected to afthe the cookie is set ''<nowiki>http://www.kennisnet.nl</nowiki>''.<br>
 
In the example, this is the IdP identifier ''<nowiki>http://authenticate.example.org</nowiki>'', and this is de URL where the redirects starts ''<nowiki>http://www.example.org</nowiki>'' and this is the url where the user will be redirected to afthe the cookie is set ''<nowiki>http://www.kennisnet.nl</nowiki>''.<br>
''<nowiki>https://ssonot.aselect.entree.kennisnet.nl/openaselect/profiles/entree?id=http://authenticate.example.org&url=http%3A%2F%2Fwww.example.org&redirectUri=http%3A%2F%2Fwww.kennisnet.nl</nowiki>''
+
''<nowiki>https://ssonot.entree.kennisnet.nl/?id=http://authenticate.example.org&url=http%3A%2F%2Fwww.example.org&redirectUri=http%3A%2F%2Fwww.kennisnet.nl</nowiki>''
   
 
[[Categorie:Entree Federatie]]
 
[[Categorie:Entree Federatie]]

Versie van 16 feb 2023 11:12

Nl.gif Nederlands En.gif English

The SSO notification cookie can be placed, after the user has logged in on the schoolportal, with an redirect to Entree Federation.

Config redirect URL

The redirect URL has 4 parts:

  1. The Entree Federatie URL where the redirect will be redirected to.
  2. The unique identifier of the Identity Provider as known in Entree Federatie. This is the entity ID of the IdP and can be found here: https://aselect.entree.kennisnet.nl/openaselect/sso/wayfsearch2?type=getAll&spCode
  3. The URL (url-encoded) of the serveraddress where it comes from.
  4. The redirectURI (url-encoded), this is the URL where the users goes to after the redirect. In most cases this is the same place, but if needed it can be somewhere else. This has to be an address owned by the school, it can't be the address of the Service Provider.

Important: Before you can use the SSO notification, the URL needs to be added to the whitelist. You can send the URL via an ticket Kennisnet.

New platform

  1. production: https://ssonot.entree.kennisnet.nl/?id=<identifier van de IdP>&url=<url-encoded ELO URL>&redirectUri=<url-encoded redirect URL>
  2. staging: there is no SSO notificatie service for staging (yet).

The redirect URL looks like this:
https://ssonot.entree.kennisnet.nl/?id=<identifier van de IdP>&url=<url-encoded ELO URL>&redirectUri=<url-encoded redirect URL>

Old platform

  1. For productie: https://ssonot.aselect.entree.kennisnet.nl/openaselect/profiles/entree
  2. For staging: https://ssonot.aselect-s.entree.kennisnet.nl/openaselect/profiles/entree

The redirect URL will look like this:
https://ssonot.aselect.entree.kennisnet.nl/openaselect/profiles/entree?id=<identifier van de IdP>&url=<url-encoded ELO URL>&redirectUri=<url-encoded redirect URL>

Examlple

In the example, this is the IdP identifier http://authenticate.example.org, and this is de URL where the redirects starts http://www.example.org and this is the url where the user will be redirected to afthe the cookie is set http://www.kennisnet.nl.
https://ssonot.entree.kennisnet.nl/?id=http://authenticate.example.org&url=http%3A%2F%2Fwww.example.org&redirectUri=http%3A%2F%2Fwww.kennisnet.nl