Skip to content

Instantly share code, notes, and snippets.

@Tanver-Hasan
Forked from saltukalakus/SAML.template
Created December 4, 2020 15:58
Show Gist options
  • Save Tanver-Hasan/7b8d71caa3489ea5f962eb92b75ed65d to your computer and use it in GitHub Desktop.
Save Tanver-Hasan/7b8d71caa3489ea5f962eb92b75ed65d to your computer and use it in GitHub Desktop.
How to insert AssertionConsumerServiceURL (ACS) in AuthN when Auth0 is the SAML service provider. (a.k.a. SAML enterprise connection)
<samlp:AuthnRequest xmlns:samlp="urn:oasis:names:tc:SAML:2.0:protocol"
@@AssertServiceURLAndDestination@@
AssertionConsumerServiceURL="https://demo-saml-sp.auth0.com/login/callback"
ID="@@ID@@"
IssueInstant="@@IssueInstant@@"
ProtocolBinding="@@ProtocolBinding@@" Version="2.0">
<saml:Issuer xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">@@Issuer@@</saml:Issuer>
</samlp:AuthnRequest>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment