openid / openid/AppAuth-iOS

User get automatically login after logout but when I restart app user does not login automatically.

Open
#421 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Previous AppAuth version 0.9.0 working as expected.

Current AppAuth version 1.0.0 facing logout issue:

Case 1: Below iOS 11

its working fine as expected.

Case 2: iOS 11 and above facing logout issue

Step 1. User logins
Step 2. User restarts app
Step 3. User open login again and see login page without automatically redirect.

But if omit Step 2 (without restart app), then user login automatically.

NOTE: We are using SFSafariViewController to logout by passing logout URL.

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

Reproduce the reported flow on iOS 11 and later with AppAuth 1.0.0, focusing on the SFSafariViewController logout URL flow. Compare behavior with AppAuth 0.9.0 and verify whether restarting the app changes the automatic-login result. Done means the documented login, logout, restart, and relaunch sequence behaves consistently.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.