Dymas
Dymas

Reputation: 122

SAML on Android

I'm trying to implement SSO in my Android application. I already have an Identity Provider (Duo Access Gateway), which is currently being used in my company. I'm unable to find any guides or explanations on how to go about this.

My understanding so far is that I need a service provider, but an Android native app can't perform that task. So I would need to create a web app to act as SP, load this SP in a WebView/Custom Chrome Tab, authenticate the user there, and then pass the SAML assertion back to the application?

The problem is I have no idea on where to start and how to do this. Any help would be much appreciated, thank you.

Upvotes: 0

Views: 469

Answers (1)

rbrayb
rbrayb

Reputation: 46720

Your best bet is probably Passport which is js.

Your other option is using something like Auth0 or Okta and then going OpenID Connect to Auth0 and SAML to Duo.

They both have Android examples.

Upvotes: 1

Related Questions