Skip to content

Instantly share code, notes, and snippets.

@jesseloudon
Created April 3, 2019 02:00
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 jesseloudon/5abc590e4d11be89c8629fca6a816f9f to your computer and use it in GitHub Desktop.
Save jesseloudon/5abc590e4d11be89c8629fca6a816f9f to your computer and use it in GitHub Desktop.
ADFS_ClaimRule_NameID.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");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment