1

Are there any usable examples for writing .Net code which would allow SP-initiated SSO using Azure AD as the iDP and SAML2 as the protocol?

Everything I found online either doesn't have examples, doesn't explain clearly, or for the most part it's just outdated. For example, the Attributes tab so many guides refer to seems to be completely missing in Azure AD and so I have no idea how we're supposed to transform claims.

Does anyone have a good guide or sample code? Thanks!

blizz
  • 4,102
  • 6
  • 36
  • 60

1 Answers1

0

I normally use the Kentor stack.

I did some posts here (plus links inside) which show what the OWIN interface looks like.

In your case. you would use the Azure AD metadata. You can get the URL for this from the "Endpoints" tab under "Applications" in the "Active Directory" section.

rbrayb
  • 46,440
  • 34
  • 114
  • 174