Skip to content

Instantly share code, notes, and snippets.

@monmohan
Last active July 19, 2021 12:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save monmohan/ece254081d4a817ae58089c3af654594 to your computer and use it in GitHub Desktop.
Save monmohan/ece254081d4a817ae58089c3af654594 to your computer and use it in GitHub Desktop.
XML Element/Attribute Explanation
samlp:AuthnRequest Standard element to represent a SAML AuthnRequest
ID Unique value representing the ID of the request. When IDP responds, the assertion will have an attribute inResponseTo with the same value as this ID
Protocol-Binding Represents how the HTTP request for AuthnRequest is sent. The sample uses "Redirect" binding which means the payload is sent as query parameter
saml:Issuer Represents the sender, i.e. this Application. Many IDPs would require this to match an entity created with them. For our usage, we set it to same as our SP home , http://sp.samltools.com
IssueInstant Time when the request was sent. This is required attribute but most IDP don't care for this value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment