Skip to content

Latest commit

 

History

History
81 lines (65 loc) · 4.65 KB

README.SAML2.resources.md

File metadata and controls

81 lines (65 loc) · 4.65 KB

pySAML2 things, improvements and issues

Advanced Topics

Resources and examples about advanced SAML2 implementations and use cases.

SAML2 security assertions

  • Artifact resolution should be the best auth method in several bandwidth and security aspects. Read this

Auth proxies

My implementation example here:

WAYF and Discovery-service

This is the leading project regarding Discovery Services: https://seamlessaccess.org/

My implementation here for SPID/Other federation:

IdP Discovery Service flow described in SAML2 specifications is made of the following steps:

  • SP is configured to use a remote IdP Discovery Service to determine the IdP to be used for the Federation SSO operation
  • The SP redirects the user to the IdP Discovery Service via a 302 HTTP redirect and provides the following parameters in the query string
  • entityID: the Issuer/ProviderID of OIF/SP
  • returnIDParam: the name of the query string parameter that the service needs to use for the parameter containing the IdP - ProviderID value, when redirecting the user back to OIF/SP
  • return: the URL to use to redirect the user to OIF/SP
  • The service determines the IdP to use
  • The service redirects the user to OIF/SP via a 302 HTTP redirect based on the query parameter "return" specified by the SP and provides the following parameters in the query string
  • A query parameter containing the the IdP ProviderID value; the name of that query parameter is specified by the SP in the returnIDParam query parameter.

Hopefully a Discovery service will:

  • Be aware of a list of known IdPs, referenced by the ProviderID/Issuer identifiers
  • Let the user select the IdP to use from a drop down list
  • Save the user's choice in a cookie called IDPDiscService
  • At runtime, the service will check if the IDPDiscService is present:
  • If present and contains a valid IdP, then the service will automatically redirect the user back to the SP with the IdP's - - ProviderID/Issuer: no user interaction will take place
  • Otherwise, the service will display a page containing a dropdown list of the known IdPs

Attribute Authorities

Additional resources:

Interesting third-party discovery services:

Resources