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

Expose silent renew running observable #447

Closed
WoMayr opened this issue May 24, 2019 · 1 comment
Closed

Expose silent renew running observable #447

WoMayr opened this issue May 24, 2019 · 1 comment
Labels

Comments

@WoMayr
Copy link
Contributor

WoMayr commented May 24, 2019

When first starting the app the auth guard triggers the authorize, even though the silent renew is running.

I expect the auth guard to wait for the renew process to finish (or fail) before deciding to allow activation of the route or trigger the login.

Would it be possible to expose a Observable<boolean> over which one can check if the silent renew is running and when it is finished.

As a workaround I implemented a simple OidcSecurityStorage service that emits a value whenever a value gets written to key storage_silent_renew_running

@damienbod
Copy link
Owner

@WoMayr we will provide examples and a fix for this with the version 11 release. Thanks for reporting

Greetings Damien

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

2 participants