Skip to content

Quick start does not work with Angular 19, 20, or 21 #889

@gwvandesteeg

Description

@gwvandesteeg

Checklist

Description

The quick start process with the current stable Angular versions does not work

Angular 19

  • main.ts references appConfig which does not exist.
  • main.ts tries to use bootstrapApplication instead of the platformBrowser().bootstrapModule approach.
  • tested with npx @angular/cli@^19.0.0 new auth0-angular --routing=true --style=css --standalone=false and npx @angular/cli@^19.0.0 new auth0-angular --routing=true --style=css

Angular 20

  • no such files as ./src/app/app.component.* as referenced in the quickstart
  • when following the instructions anyway you get a blank page rendered with no login form
  • tested with npx @angular/cli@^20.0.0 new auth0-angular --routing=true --style=css --standalone=false and npx @angular/cli@^20.0.0 new auth0-angular --routing=true --style=css

Angular 21

  • no such files as ./src/app/app.component.* as referenced in the quickstart
  • when following the instructions anyway you get a blank page rendered with no login form
  • tested with npx @angular/cli@^21.0.0 new auth0-angular --routing=true --style=css --standalone=false and npx @angular/cli@^21.0.0 new auth0-angular --routing=true --style=css

Reproduction

Angular 19

  1. run npx @angular/cli@^19.0.0 new auth0-angular --routing=true --style=css
  2. run cd auth0-angular/
  3. run npm install @auth0/auth0-angular && npm install
  4. attempt to follow remaining instructions

Angular 20

  1. run npx @angular/cli@^20.0.0 new auth0-angular --routing=true --style=css
  2. run cd auth0-angular/
  3. run npm install @auth0/auth0-angular && npm install
  4. attempt to follow remaining instructions

Angular 21

  1. run npx @angular/cli@^21.0.0 new auth0-angular --routing=true --style=css
  2. run cd auth0-angular/
  3. run npm install @auth0/auth0-angular && npm install
  4. attempt to follow remaining instructions

Additional context

No response

auth0-angular version

2.8.0

Angular version

19, 20, and 21

Which browsers have you tested in?

Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis points to a verified bug in the code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions