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

Make sure that AuthService.init() is always executed #412

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

flgubler-ergon
Copy link

Similar topic as already discussed: If AuthService.init() is not executed before a login-flow is started, the login-flow never completes because no listener is registered with the @openid/appauth logic. In that case, debugging is very time-consuming because no helpful logging is provided.

With this app-initializer logic of angular, we can be sure that the service is initialized before the UI-components are loaded.

flgubler-ergon and others added 2 commits January 28, 2025 14:29
Similar topic as already discussed: If AuthService.init() is not executed before a login-flow is started, the login-flow never completes because no listener is registered with the @openid/appauth logic. In that case, debugging is very time-consuming because no helpful logging is provided.

With this app-initializer logic of angular, we can be sure that the service is initialized before the UI-components are loaded.
Sorry, changes outside of IDEs are dangerous
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant