Skip to content

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

Open
flgubler-ergon wants to merge 2 commits intowi3land:masterfrom
flgubler-ergon:patch-3
Open

Make sure that AuthService.init() is always executed#412
flgubler-ergon wants to merge 2 commits intowi3land:masterfrom
flgubler-ergon:patch-3

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

Comments