You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Currently the OidcSecurityService.checkAuth() is recommended to be called in the AppComponent, which is a sensible default.
However I would prefer to have an option to call it during app initialization (with a provider for APP_INITIALIZER).
Describe the solution you'd like
I would like to have an optional possibility to run the auth check during the app initialization phase.
Describe alternatives you've considered
Just use the code above in my apps.
Additional context
I am aware that this is mostly a convenience functionality.
Due to this I am more that willing to contribute the necessary code, if this feature is an acceptable addition and there is agreement on the API.
The text was updated successfully, but these errors were encountered:
kyubisation
changed the title
[Feature Request]:
[Feature Request]: Option for authCheck during app initialization phase
Apr 19, 2024
Is your feature request related to a problem? Please describe.
Currently the
OidcSecurityService.checkAuth()
is recommended to be called in the AppComponent, which is a sensible default.However I would prefer to have an option to call it during app initialization (with a provider for APP_INITIALIZER).
Describe the solution you'd like
I would like to have an optional possibility to run the auth check during the app initialization phase.
e.g.
Describe alternatives you've considered
Just use the code above in my apps.
Additional context
I am aware that this is mostly a convenience functionality.
Due to this I am more that willing to contribute the necessary code, if this feature is an acceptable addition and there is agreement on the API.
The text was updated successfully, but these errors were encountered: