Skip to content

Documentation issue in Authentication with SSR #3585

Description

@perissf1

Angularfire Authentication guide shows how to support Auth context in server-side rendering. In the code sample, this line doesn't compile:

  const request = inject(REQUEST, { optional: true });

Because the compiler Cannot find name 'REQUEST'.

What's the correct import to add?

Metadata

Metadata

Assignees

No one assigned

    Labels

    comp: authAuthentication (src/auth).comp: docsDocumentation.comp: ssrServer-side rendering, hydration, @angular/ssr interop.type: bugDefect: expected behavior doesn't happen.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions