Describe the bug
Because after the verification is successful, when entering the page, different routes need to be redirected based on the user configuration. However, since obtaining user data is asynchronous while the route guards are synchronous, it results in not being able to obtain the data during the interception process. So, how can we achieve the goal of obtaining the user data in advance before the guard interception?
Expected behavior
It is possible to obtain user data before the route guard interception.
Desktop (please complete the following information):
Angular v20
angular-oauth2-oidc v20.0.2
Describe the bug
Because after the verification is successful, when entering the page, different routes need to be redirected based on the user configuration. However, since obtaining user data is asynchronous while the route guards are synchronous, it results in not being able to obtain the data during the interception process. So, how can we achieve the goal of obtaining the user data in advance before the guard interception?
Expected behavior
It is possible to obtain user data before the route guard interception.
Desktop (please complete the following information):
Angular v20
angular-oauth2-oidc v20.0.2