okta / okta-sdk-java

A Java SDK for interacting with the Okta management API, enabling server-side code to manage Okta users, groups, applications, and more.
Apache License 2.0
147 stars 136 forks source link

Does it support SAML authentication on android #2

Closed rskumar closed 7 years ago

rskumar commented 9 years ago

Can I use it to develop app with okta saml 2.0 sso? If not, please provide a right pointer where I can find examples and supported libraries.

tbeech commented 9 years ago

Not sure if this is too late, but after researching this a bit, I don't think SAML is a good fit for mobile due to the fact that it's primary purpose is to solve SSO for the browser. Okta does provide an API that allows you to authenticate the user via user login and password from there you can create an Okta session that you could use inside your app. You would have to integrate your app server side to do this. Look at the authentication and session APIs.

joelfranusic-okta commented 7 years ago

To close this off, @tbeech is correct here. SAML is not usually a good fit for mobile development mostly due to the effort required to get SAML working with a mobile browser.

People looking to add SSO support to a mobile app in 2017 and beyond should look into implementing OIDC, which Okta now supports and is currently available as an Early Access feature.