Skip to content

Instantly share code, notes, and snippets.

@jesseloudon
Last active February 6, 2020 00:23
Show Gist options
  • Save jesseloudon/6b905c273466e1730f18d310be327f3c to your computer and use it in GitHub Desktop.
Save jesseloudon/6b905c273466e1730f18d310be327f3c to your computer and use it in GitHub Desktop.
ADFS_ClaimRule_NameID_SPNameQualifier.txt
c:[Type == "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress"]
=> issue(Type = "http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier", Issuer = c.Issuer, OriginalIssuer = c.OriginalIssuer, Value = c.Value, ValueType = c.ValueType, Properties["http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/format"] = "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress", Properties["http://schemas.xmlsoap.org/ws/2005/05/identity/claimproperties/spnamequalifier"] = "insertValueHere");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment