angular-auth-oidc-client
angular-auth-oidc-client copied to clipboard
[Bug]: AutoLoginPartialRoutesGuard is not compatible with canLoad
Version
19.0.1
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
The current implementation of AutoLoginPartialRoutesGuard it's not compatible with `canLoad` guard, is highly coupled to `canActivate` and the deprecated `canLoad`.
https://github.com/damienbod/angular-auth-oidc-client/blob/5304cc1cdbd421876749a52577942856763e602d/projects/angular-auth-oidc-client/src/lib/auto-login/auto-login-partial-routes.guard.ts#L23
Steps to reproduce the behavior
-
A clear and concise description of what you expected to happen.
Provide support to canMatch https://angular.dev/api/router/CanMatch and update the documentation
Additional context
Thanks!