question

ChandgudeFSuresh-8399 avatar image
0 Votes"
ChandgudeFSuresh-8399 asked bharathn-msft edited

SAML 2.0 integration iOS swift

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

azure-ad-saml-ssoazure-ad-authentication-protocols
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

JamesTran-MSFT avatar image
0 Votes"
JamesTran-MSFT answered

@ChandgudeFSuresh-8399
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.

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.