/    Sign up×
Community /Pin to ProfileBookmark

Okta SSO on a iOS (across apps restarts and between apps)

am experimenting with[ **Okta**](https://hkrtrainings.com/okta-training) and the okta-openidconnect-appauth-ios test program (project name OpenIDConnectSwift) to see how Okta SSO works on iOS 11. This app leverages the AppAuth library for OIDC.

I have set up the test program and was able to log in and get tokens (auth token, refresh token, ID token), as well as see the user info, etc.

However, when I restart the app or try to do the same thing from another app linked to the same clientID, I only see the username field filled in, and password is blank.

I was under the impression that I should be seeing SSO (meaning I don’t have to re-enter in my password) in these cases because there is some cookie(s) stored globally (accessible via SFAuthenticationSession on iOS 11)

Is there something I need to specially configure to support this? Ideally I want to test OIDC flow, but any other flow is fine if I can achieve SSO across apps and app restart.

Rather than write an app to do this from scratch, I am hoping to use this test app (with minor tweaks and/or configuration changes), or find another app that can demonstrate SSO on iOS 11 using Okta.

UPDATE: I am still seeing issues on 11.2.5, has anyone got this to work?

to post a comment

0Be the first to comment 😎

×

Success!

Help @junnusipra spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.4,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...