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
> The guard should only be applied to protected URLs. The guard should not be active on the default route, where the authorization request is processed.
8
+
> Guards should only be applied to protected URLs. There should be no guard active on the default route where the authorization request is processed.
9
9
10
10
Please refer to the auto-login guard in this repo as a reference. It is important that the callback logic can be run on a route without the guard running or run before the guard logic.
All other guard types like `canLoad` or `canActivateChild` work in a similar way. However, the guard class has to implement the respective interfaces and methods accordingly.
0 commit comments