You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using AppAuth-iOS sdk for one of our project and once the login flow is completed through our app, When we go to the Safari browser(Normal window) and try to access the IDP page, It just logs in automatically fine In iPhone(iOS device) as the cookie is shared and accessible.
Now, when we try the same flow in an iPad Device Safari browser(Normal window), The session is not persisted for Safari browser and it asks for the user name and password again which leads to multiple other issues specific to our app.
Is there some known issue in iPadOS device regarding session and cookies. Why it doesn't work for iPadOS devices and works for iPhone(iOS) device. I am using the latest version of OS on both the devices(iOS 18.1.1 and iPadOS 18.1.1)
I see below code is inside OIDExternalUserAgentIOS responsible to allow the session sharing or Not.
I checked the value of authenticationVC.prefersEphemeralWebBrowserSession is False and tried setting it to false manually also. But still the issue persists. What could be causing this issue? Appreciate any help on this.
The text was updated successfully, but these errors were encountered:
We are using AppAuth-iOS sdk for one of our project and once the login flow is completed through our app, When we go to the Safari browser(Normal window) and try to access the IDP page, It just logs in automatically fine In iPhone(iOS device) as the cookie is shared and accessible.
Now, when we try the same flow in an iPad Device Safari browser(Normal window), The session is not persisted for Safari browser and it asks for the user name and password again which leads to multiple other issues specific to our app.
Is there some known issue in iPadOS device regarding session and cookies. Why it doesn't work for iPadOS devices and works for iPhone(iOS) device. I am using the latest version of OS on both the devices(iOS 18.1.1 and iPadOS 18.1.1)
I see below code is inside OIDExternalUserAgentIOS responsible to allow the session sharing or Not.
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 130000 if (@available(iOS 13.0, *)) { authenticationVC.presentationContextProvider = self; authenticationVC.prefersEphemeralWebBrowserSession = _prefersEphemeralSession; } #endif
I checked the value of authenticationVC.prefersEphemeralWebBrowserSession is False and tried setting it to false manually also. But still the issue persists. What could be causing this issue? Appreciate any help on this.
The text was updated successfully, but these errors were encountered: