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

[Question]: Incognito mode seems broke checkSessionChanged #2065

Open
lufo88ita opened this issue Jan 14, 2025 · 0 comments
Open

[Question]: Incognito mode seems broke checkSessionChanged #2065

lufo88ita opened this issue Jan 14, 2025 · 0 comments
Labels

Comments

@lufo88ita
Copy link

lufo88ita commented Jan 14, 2025

What Version of the library are you using?
17.1.0

Question
not sure if it is a bug or a problem in the configuration.
I use this library from a while. In a project in Angular 17 the library (and the server) works fine, except in incognito mode.
If I try to login in my site while using incognito mode the Observable checkSessionChanged$ start to fire event every couple of second.

I test it with Chrome and firefox (incognito mode). Chrome, firefox and safari (not incognito mode).

My configuration:

configId: configAuthId,
      authority:  environment.identityUrl,
      redirectUrl: `${window.location.origin}/callback`,
      postLogoutRedirectUri: `${window.location.origin}/`,
      clientId: 'b2b-vnext',
      scope: 'openid offline_access profile email address',
      responseType: 'code',
      silentRenew: true,
      useRefreshToken: true,
      ignoreNonceAfterRefresh: true,    
      renewUserInfoAfterTokenRenew: true,
      unauthorizedRoute: "/",
      autoUserInfo: true,
      startCheckSession: true,
      secureRoutes: ['/api', `${window.location.origin}/api`, `${environment.identityUrl}/service/service`]

Any ideas?

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

No branches or pull requests

1 participant