-
Notifications
You must be signed in to change notification settings - Fork 695
silent refresh not working #283
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
Comments
Out of nowhere this error is not coming up anymore and the silent refresh works just fine. |
Hey Folks |
Hi guys, I have run in same issue. Here is my setup
"@angular/core": "^8.2.14", |
In your silent-refresh.html file repleace this code:
with the folowing:
|
Thank you @a2glukhov . I have found the bug. Because of cookie policies (HTTP) of Chrome, refreshing token will not working at local or dev. |
@lamnv5490 You can work around this issue by setting chrome://flags/#same-site-by-default-cookies to Disabled and relaunching Chrome |
Problem:
In the sample application the silent refresh is not working. The same happens if I try it with a config for my own KeyCloak Server:
Found following log messages in the conosle:
the last message in detail:
caused / catched by following code
Steps to reproduce:
npm run start
max/geheim
Test silent refresh
Expected behavior: No error is thrown
The text was updated successfully, but these errors were encountered: