Skip to content

Conversation

@iamriajul
Copy link

Set prefersEphemeralWebBrowserSession to false to allow ASWebAuthenticationSession to share cookies with Safari.

This enables users to utilize their existing logged-in sessions from Safari, which is essential for SSO functionality.

When prefersEphemeralWebBrowserSession is true (previous behavior):

  • Session is isolated and cookies are not shared
  • Users must log in again even if already authenticated in Safari

When false (new behavior):

  • Session shares cookies with Safari
  • Users can leverage existing authentication sessions
  • Better UX for SSO scenarios

Set prefersEphemeralWebBrowserSession to false to allow
ASWebAuthenticationSession to share cookies with Safari.

This enables users to utilize their existing logged-in sessions
from Safari, which is essential for SSO functionality.

When prefersEphemeralWebBrowserSession is true (previous behavior):
- Session is isolated and cookies are not shared
- Users must log in again even if already authenticated in Safari

When false (new behavior):
- Session shares cookies with Safari
- Users can leverage existing authentication sessions
- Better UX for SSO scenarios
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant