Open asheesh5391 opened 5 years ago
I'm a little confused here, the title mentions logout, but I don't see any logout related steps in Case 2.
AppAuth 1.1.0 has native support for Logout, maybe you should try that? My guess is you're using a different user-agent for login, and logout and that the cookie state is not consistent.
@asheesh5391
I'm facing the same issue. Were you able to find a solution for this?
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.
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.