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

Window opened by container.open() when using refresh token for session type will get blocked by Safari #213

Open
jasonkit opened this issue Sep 8, 2022 · 1 comment

Comments

@jasonkit
Copy link

jasonkit commented Sep 8, 2022

Safari will block window.open() after await even if it is triggered by user interaction.

One workaround is open the window (const windowProxy = window.open(undefined, "_blank");) before any await call and set windowProxy.location after the await call.

@fungc-io
Copy link
Member

fungc-io commented Sep 8, 2022

Oh right, when I was testing in iPad Chrome (also WebKit based) yesterday the settings page was blocked too! It is shown as blocked popup

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