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

Refresh token should be hidden by service worker on WebKit based browser #1382

Open
dmushkov opened this issue Jun 6, 2024 · 1 comment
Open

Comments

@dmushkov
Copy link

dmushkov commented Jun 6, 2024

When login for first time through IdP when loginCallbackAsync is called
error Refresh token should be hidden by service worker is occurring. On second time with new tab open looks ok

I'm using with following configuration

const configuration = { client_id: process.env.NEXT_PUBLIC_OIDC_CLIENT_ID ?? '', redirect_uri: ${process.env.NEXT_PUBLIC_URL}/#authentication/callback, silent_redirect_uri: ${process.env.NEXT_PUBLIC_URL}/#authentication/silent-callback, scope: 'openid profile email api offline_access', authority: process.env.NEXT_PUBLIC_OIDC_AUTHORITY ?? '', service_worker_only: true, service_worker_relative_url: '/OidcServiceWorker.js', preload_user_info: true };

version 7.22.6

To reproduce epiphany can be used for WebKit based browser

Might be same as
#1119

@guillaume-chervet
Copy link
Contributor

guillaume-chervet commented Jun 6, 2024

Hi @dmushkov thank you for your issue.
I have to reproduce it.it is an important one. It point the real problem it will help a lot to fix it !
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants