-
Notifications
You must be signed in to change notification settings - Fork 433
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
After successful login, getIsAuthorized still returns false for a bit. #549
Comments
If you are using a call to Line 38 in 2044c48
This creates a race condition, because we cannot wait for that call to finish before moving onto initializing the angular app. I worked around this issue in my app by casting the |
Resolve issue #549: Added return types for OIDC config service.
fixed in version 11, thanks for reporting |
If I perform a call to
getIsAuthorized()
immediately after a successul login, it will return false.Sleeping for a second solves the problem, but this is only a workaround.
I think, call to
getIsAuthorized()
andauthorize()
have to be synced somehow.The text was updated successfully, but these errors were encountered: