Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

PHPSAML-Verification

Verification of SAML Response

This piece of code can be used to verify the SAML response from an IDP like OKTA, OneLogin. Users who do not wish to use libraries like SimpleSAMLPHP can use this to verify the digital signature contained within a SAML response. The code has two variables that has to be changed,

-> SP URL - The FQDN of the application that is going to consume the SAML -> IDP URL - The URL of the entity providing the SAML. Could be OKTA, ONE-Login etc.

The code performs:

  1. Verifies the Digital Signature
  2. Verifies the IDP and SP URL.

NOTE: We can also include reference validation (http://massimilianosciacco.com/validate-saml-assertion-signature) in addition to the digital signature validation.

About

Verification of SAML Response

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages