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
Thanks for your response @timdeschryver! I have successfully implemented multiple configurations, but one thing that I am not achieving is the protection of routes via custom guard, when using multiple configurations. I saw this example in the documentation but isAuthentication is always false. I understood by the documentation that this value returns false when having multiple configurations, is there any other way I can implement it? Thanks 😀
@soniafaria I don't have "real" experience with it.
But AFAIK if you use isAuthenticated instead of isAuthenticated$ you can provide a configId.
If you provide the configuration id, isAuthenticated will return the result for that configuration.
What Version of the library are you using?
17.0.0
Question
How can I implement multiple authentication configurations and router guards for an Angular 17 project, using standalone components?
The text was updated successfully, but these errors were encountered: