openid / openid/AppAuth-iOS

SSO on iOS 11 doesn't seem to work?

Open
#186 15 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

platform-bug
Dominant language
Objective-C
Stars
2k
Forks
867
Avg merge
4d 48m
Merged PRs (30d)
1

Description

Hi,

Maybe I have missed something but it seems I can't get SSO to work on iOS 11 with the library. Here is the environment I have for my app:

Xcode: Version 9.1 (9B55)
iOS version on the simulator: 11.1
identity provider: Keycloak with OpenConnectId

I also noticed that even for the same app, if I login the first time using SFAuthenticationSession, and then close the app and open it again immediately for the second time, when the SFAuthenticationSession is presented, I still have to enter my username/password again. This is different from the experience I have on Android and I would expect for the second time, I don't have to enter my username/password again and the SFAuthenticationSession should be closed straight away.

If I want to do SSO with multiple apps on iOS 11, is there anything else I need to set, other than make sure all apps are belong to the same group?

Thanks.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported SFAuthenticationSession behavior on iOS 11.1 with the stated Xcode and Keycloak/OpenID Connect setup, then inspect the library's SSO integration and configuration guidance. Done means identifying whether shared app-group settings or another requirement explains the repeated login, and documenting the result or confirmed limitation.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, objective-c
Domain
authentication, mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.