# QuickStart Angular Project is NOT Working

**URL:** <https://community.auth0.com/t/quickstart-angular-project-is-not-working/54997>\
**Category:** Get Help\
**Tags:** quickstart, auth0, login\
**Created:** [December 17, 2020, 6:23am UTC](https://community.auth0.com/t/quickstart-angular-project-is-not-working/54997 "2020-12-17T06:23:11Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![TEKPartner](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tekpartner/32/12732_2.png) [@TEKPartner](https://community.auth0.com/u/TEKPartner)\
**Post date:** [December 17, 2020, 6:23am UTC](https://community.auth0.com/t/quickstart-angular-project-is-not-working/54997/1 "2020-12-17T06:23:11Z")

</div>

Angular QuickStart ([https://auth0.com/docs/quickstart/spa/angular/01-login](https://auth0.com/docs/quickstart/spa/angular/01-login)) is not working. When I click on “login” I see that the call to “this.auth.loginWithRedirect();” is made. But, nothing happens though.

I’ve used the sample, as well as setup the application on my own multiple times. But, no luck.

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 17, 2020, 12:24pm UTC](https://community.auth0.com/t/quickstart-angular-project-is-not-working/54997/2 "2020-12-17T12:24:23Z")

</div>

Hey there!

Let me try to reproduce that and get back to you soon!

---

<div class="post-metadata">

**Author:** ![TEKPartner](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tekpartner/32/12732_2.png) [@TEKPartner](https://community.auth0.com/u/TEKPartner)\
**Post date:** [December 17, 2020, 11:53pm UTC](https://community.auth0.com/t/quickstart-angular-project-is-not-working/54997/4 "2020-12-17T23:53:31Z")

</div>

Modifying the contents of app.module.ts as follows solved the problem:

```
AuthModule.forRoot({
      domain: 'xxxxxxxxxxx.auth0.com',
      clientId: 'YYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY',
      // ...env.auth,
      httpInterceptor: {
        ...env.httpInterceptor,
      },
    }),

```

---

<div class="post-metadata">

**Author:** ![James.Morrison](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/james.morrison/32/13507_2.png) [@James.Morrison](https://community.auth0.com/u/James.Morrison)\
**Post date:** [December 17, 2020, 11:59pm UTC](https://community.auth0.com/t/quickstart-angular-project-is-not-working/54997/5 "2020-12-17T23:59:50Z")

</div>

I’m happy to hear it all came together @TEKPartner!

---

<div class="post-metadata">

**Author:** ![TEKPartner](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/tekpartner/32/12732_2.png) [@TEKPartner](https://community.auth0.com/u/TEKPartner)\
**Post date:** [December 18, 2020, 12:07am UTC](https://community.auth0.com/t/quickstart-angular-project-is-not-working/54997/6 "2020-12-18T00:07:55Z")

</div>

Update on my analysis:

I had not modified the API\_IDENTIFIER in the auth\_config.json. Those instructions are not included in your help page. Once I put that value in, the use of …env.auth worked.

Please update [Auth0 Angular SDK Quickstarts: Login](https://auth0.com/docs/quickstart/spa/angular/01-login) to include instructions on how to replace the value for {API\_IDENTIFIER} in auth\_config.json

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 18, 2020, 7:46am UTC](https://community.auth0.com/t/quickstart-angular-project-is-not-working/54997/7 "2020-12-18T07:46:32Z")

</div>

Sure! Thanks for relaying that! I’ll create the GitHub issue for that right away so it can be addressed soon!

---

<div class="post-metadata">

**Author:** ![konrad.sopala](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/konrad.sopala/32/13516_2.png) [@konrad.sopala](https://community.auth0.com/u/konrad.sopala)\
**Post date:** [December 18, 2020, 7:52am UTC](https://community.auth0.com/t/quickstart-angular-project-is-not-working/54997/8 "2020-12-18T07:52:54Z")

</div>

Here’s the GitHub issue for that:

[https://github.com/auth0-samples/auth0-angular-samples/issues/214](https://github.com/auth0-samples/auth0-angular-samples/issues/214)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [January 2, 2021, 7:52am UTC](https://community.auth0.com/t/quickstart-angular-project-is-not-working/54997/9 "2021-01-02T07:52:55Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
