-
Notifications
You must be signed in to change notification settings - Fork 436
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
Check session always checked locally. #756
Comments
Hi @Expelz @valdian Can you help me a bit here, what is the problem here (sorry if I don't understand)? How can I reproduce the problem? I have tested the checkSession and this works for me (The way I test it, but I assume you use it different, so I probably missed something) Greetings and thanks Damien |
@damienbod Check session works, but the regular refresh is missing. In the previous versions, the check session iframe used to be refreshed every minute. When I use version 10 and open my app in a browser, I can see also in the network tab of development tools that the checksession endpoint is called every minute. With version 11, the checksession endpoint is called only once in the beginning. The regular refresh was introduced in #314. See the issue discussion for the reasons behind. But the refresh disappeared in commit 1750ee2. The question is: Was it done by accident or was it an intention? It looks like done by accident because the field |
@valdian Thanks for the info. Let's get the PR merged then and get this back , maybe @FabianGosebrink can help you with the tests? |
@valdian thank you for contributing! #761 will solve this issue. @damienbod @FabianGosebrink guys you do a great job. Thank you! |
Hello.
In the recursive function doesn't include call to CheckSessionService.init() :
angular-auth-oidc-client/projects/angular-auth-oidc-client/src/lib/iframe/check-session.service.ts
Lines 94 to 120 in ea4e382
This causes the check session logic to malfunction because the session state check always takes place locally.
Are there any reasons why you don't invoke init() inside pollServerSessionRecur() function as it was in previous version?
And also it would be very convenient to be able to configure these variables:
angular-auth-oidc-client/projects/angular-auth-oidc-client/src/lib/iframe/check-session.service.ts
Lines 20 to 21 in ea4e382
The text was updated successfully, but these errors were encountered: