Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login Freeze in Safari #1388

Open
leonardo-asad opened this issue Jun 15, 2024 · 2 comments
Open

Login Freeze in Safari #1388

leonardo-asad opened this issue Jun 15, 2024 · 2 comments

Comments

@leonardo-asad
Copy link

Issue and Steps to Reproduce

Using Safari, the login freezes after the Identity Provider redirects to the application. So far I have found these issues in the following devices:

  • iOS 17.5.1 Safari (Login Freezed)
  • Mac OS Sonoma Safari 17 (Login Freezed)
  • Mac OS Sonoma Chrome (Works Fine)
  • Mac OS Ventura Safari 17 (Login Freezed)

It seems that refreshing the page after it freezes makes the login process to complete.

The service workers seems to start

It freezes after this event:

  • loginCallbackAsync_begin

Note: If I disable the service worker it works fine.

Versions

"@axa-fr/react-oidc": "7.22.7",

Expected

To complete the Login process normally using Safari.

Actual

The login process get Stuck after the Identity provider redirects to the /authentication/callback route

Additional Details

image

@guillaume-chervet
Copy link
Contributor

Oh thank you @leonardo-asad ,

Do you have a log from the console or something that can help to understand the problem.
Which device run that version of Safari ?

@leonardo-asad
Copy link
Author

The execution freeze right after this event (loginCallbackAsync_begin):
image

I am using lambda test to test the web app on different devices. So far I have had this problem in the following devices:

  • macOS Sonoma (Safari 17)
    The service worker doesn't show any log. The only log I can get is that loginCallbackAsync_begin event.
    image

  • iPhone 15 Pro Max iOS 17.4 Safari
    image
    image

I've tried with different iPhones using Safari and I got the same issue. Using MacBook works with Chrome but not with Safari.

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

No branches or pull requests

2 participants