SAML 2.0 authentication in iOS swift, or integrate SAML 2.0 using MSAL?
Thank you for your post! When it comes to SAML authentication for iOS, I was able to find a previous Q&A question which was answered by my colleague and I this past year. I'll post my colleagues answer below:
MSAL doesn't support SAML. The authentication flows provided by Microsoft Authentication Library (MSAL) are documented here: https://docs.microsoft.com/en-us/azure/active-directory/develop/msal-authentication-flows.
Identifier (Entity ID): Here you need to specify the issuer of the SAML request. If you check the SAML request, you will find Issuer parameter with a URL. You need to specify that exact URL as Identifier (Entity ID) under Single Sign-On blade of your enterprise application.
Reply URL (Assertion Consumer Service URL): This is the URL where the SAML token will be posted after successful authentication. It should match with the Assertion Consumer Service URL in your SAML request.
You may refer to the sample SAML IOS app, if that helps.
If you'd like to provide a feature request regarding SAML authentication for Native iOS Mobile Apps, you can do so using our feedback link, here.
I hope this helps!
Thank you for your time and patience.
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.
2 people are following this question.