Skip to content

Broken imports in route guards documentation examples #3622

Done

Description

@Erick2280

The examples in route-guards.md use the wrong import for the AuthGuard. It should be import { AuthGuard } instead of import { AngularFireAuthGuard }.

Activity

  1. google-oss-bot commented on Feb 15, 2025

    @google-oss-bot

    This issue does not seem to follow the issue template. Make sure you provide all the required information.

  2. armando-navarro commented on Dec 4, 2026

    @armando-navarro
    Collaborator

    Thanks for reporting this, and for fixing it yourself in #3623.

    That PR merged in July 2026, and the examples in site/src/auth/route-guards.md now import AuthGuard from @angular/fire/auth-guard. The PR didn't link this issue, so it stayed open after the merge.

    I'm closing this as fixed. Thanks again for the contribution.

  3. added this to the 21.0.0-rc.1 milestone on Dec 4, 2026
  4. added
    comp: auth-guard
    comp: docs
    Fixed!
    type: bug
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fixed!comp: auth-guardcomp: docstype: bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions