SAML 2.0 integration iOS swift

Chandgude, F.Suresh 1 Reputation point
2020-12-23T05:22:15.163+00:00

SAML 2.0 authentication in iOS swift, or integrate SAML 2.0 using MSAL?

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,903 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. JamesTran-MSFT 36,481 Reputation points Microsoft Employee
    2020-12-23T18:53:16.987+00:00

    @Chandgude, F.Suresh
    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://learn.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.

    SAML authentiction in Native iOS Mobile App

    ----------

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    0 comments No comments