Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SAML for Native Mobile Apps(Android and IOS)

I have been searching for quite long time, whether SAML Authentication available for Mobile Apps. I went through the oneLogin developer portal completely, but could not find any documents on Android and IOS Api. Can somebody please confirm me whether SAML gives support to Mobile Apps or not.

like image 577
Veerendra Avatar asked Mar 27 '18 08:03

Veerendra


People also ask

Can we use SAML for mobile app?

SAML was simply not designed for modern application types, such as SPAs and mobile apps. Instead of fighting the protocol, we recommend using OAuth 2.0 and OIDC for these application types.

What applications support SAML?

All major cloud applications support SAML, including Office 365, Google Workspace (formerly G Suite), Salesforce, Dropbox, and ServiceNow. ADSelfService Plus supports SSO for all SAML 2.0-enabled cloud applications.

How SAML is implemented in application?

Go to Identity Provider -> Click on Add Provider -> Select SAML list from there -> Enter details such as Provider Name, Provider's Entity ID, Provider's SSO URL, Certificate (used for token signing). Go to Service Provider -> Provide Entity Id (that verifies your application).

How does SSO work with mobile app?

Single sign-on (SSO) allows a user to sign in once and get access to other applications without re-entering credentials. This makes accessing apps easier and eliminates the need for users to remember long lists of usernames and passwords. Implementing it in your app makes accessing and using your app easier.


1 Answers

Folks who go this route generally just implement a WebView and handle the SAML request that way.

Take a look at this article on Webviews as this will allow you to share information (notably any session you've established with an SSO provider) between native apps that also support SAML the same way.

https://spin.atomicobject.com/2016/09/01/sharing-web-data-wkwebview/

Basically, if you do this, you'll also be supporting SSO on mobile via SAML (or OpenID Connect, if you go that route)

like image 143
John Offenhartz Avatar answered Sep 27 '22 19:09

John Offenhartz