Custom authentication with an external SAML identity provider
We have an existing application that authenticates users via SAML. We’re wanting to make use of this functionality during the login process of a new Dynamics 365 Commerce website. Authentication in D365 Commerce is seemingly exclusively tied to Azure AD B2C, so I’ve been investigating the possibility of connecting our existing application as an “External Identity Provider” within B2C. Whilst it looks like this should be trial to configure with an OpenId Connect provider, it seems that SAML isn’t supported by the out-of-the-box user flows, so I’ve created a Custom Policy to attempt to do this.