Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[AngularFireAuthGuard] Expose ways to call canActivateChild on the guard or in the route definition #2186

Jak3b0 started this conversation in Ideas
Discussion options

Version info

Angular: 9.0.0-next.8

Firebase: 6.6.1

AngularFire: 5.2.1

Other (e.g. Ionic/Cordova, Node, browser, operating system):

Expected behavior

I need to be able to tell the guard to also check for child routes. This could be done via some sort of option I can pass to the guard or via using a canActivateChild exported by @angular/fire/auth-guard (like the canActivate one)

You must be logged in to vote

Replies: 2 comments

Comment options

is it okay if i submit a PR for this?

You must be logged in to vote
0 replies
Comment options

Is this function going to be added? I need that to be able to use that for canActivateChild method, but at the moment somehow it returns an error but not if I pass the guard to canActivate

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
Converted from issue

This discussion was converted from issue #2186 on December 10, 2020 02:47.

AltStyle によって変換されたページ (->オリジナル) /