Setup Microsoft Azure SAML 2.0 into iOS application

Mohd Haider 21 Reputation points
2020-03-17T07:50:34.527+00:00

I am trying to configure single sign-on feature of SAML 2.0 in my iOS application. I have successfully configured Auth2.0 using MSAL iOS SDK.
Link: https://cocoapods.org/pods/MSAL

I have also looked into docs also. LinkL: https://learn.microsoft.com/en-us/azure/active-directory/develop/single-sign-on-saml-protocol

But I am unable to figure out way to integrate SAML 2.0 by MSAL iOS sdk.

I am not sure whether MSAL iOS SDK provide support for SAML 2.0 integration or not.

In BASIC SAML Configuration section, I need to provide "identifier" and "Reply URL".

4651-screenshot-2020-03-17-at-124244-pm.png

I am not sure, what I need to provide in these options. Currently in attached picture, I have used dummy url for now.

Pardon me for my poor grammar.

Does anyone know how to setup SAML 2.0 in iOS application?

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

Accepted answer
  1. AmanpreetSingh-MSFT 56,311 Reputation points
    2020-03-17T09:30:57.393+00:00

    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.

    -----------------------------------------------------------------------------------------------------------

    Please "Accept as answer" wherever the information provided helps you to help others in the community.


0 additional answers

Sort by: Most helpful