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
{{ message }}
Repository navigation
Feature Request: Add queryParams into return url from custom AuthGuardPipe #2144
I'm trying use authGuard to return deep-link for user after success login but it's look like return url from authGuardPipe be encoded, therefore my link break.
Request:
1, Is there anyway to add query param into url that return from custom authGuardPipe.
2, It would be great if i can use RouterState in custom pipe for get queryparams in a proper way, not like the way i did above.
Thank you.
UPDATED
bacause AngularFireAuthGuard implements CanActivate therefore i can use routerState like normal CanActivate. But i still not found solution for question 1.
Activity
BinhDuongNguyen commentedon Aug 13, 2019
I found that the
canActivateis passed intocreateUrlTreelike that,but with createUrlTree in this post how i can make queryParams without passing
navigationExtrasfeat(auth-guard): add support for specifying a `UrlTree` or a `string…
feat(auth-guard): add support for specifying a `UrlTree` or a `string…
feat(auth-guard): add support for specifying a `string` to redirect to
feat(auth-guard): add support for specifying a `string` to redirect to
feat(auth-guard): add support for specifying a `string` to redirect to
feat(auth-guard): add support for specifying a `string` to redirect to (