# Angular Quick Start: oauth/token: access\_denied & Unauthorized

**URL:** <https://community.auth0.com/t/angular-quick-start-oauth-token-access-denied-unauthorized/42484>\
**Category:** Get Help\
**Tags:** quickstart, sample-project, getting-started\
**Created:** [May 6, 2020, 2:43pm UTC](https://community.auth0.com/t/angular-quick-start-oauth-token-access-denied-unauthorized/42484 "2020-05-06T14:43:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![MacW](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/macw/32/12776_2.png) [@MacW](https://community.auth0.com/u/MacW)\
**Post date:** [May 6, 2020, 2:43pm UTC](https://community.auth0.com/t/angular-quick-start-oauth-token-access-denied-unauthorized/42484/1 "2020-05-06T14:43:24Z")

</div>

Just using the provided quickstart for Angular, by navigating the the quickstart for the application and following the guide that is there, including downloading and using the sample app:

> **[Add Login to Your Angular Application - Auth0 Docs](https://auth0.com/docs/quickstart/spa/angular)**
>
> This guide demonstrates how to integrate Auth0, add authentication, and display user profile information in any Angular application using the Auth0 Angular SDK.

The application runs, the login button prompts for a login on Auth0(after corrected urls in the application settings in Auth0), the login is successful and the user is returned to the sample app.

At this point, the application is calling https://\*.auth0.com/oauth/token, and we are receiving {“error”:“access\_denied”,“error\_description”:“Unauthorized”}, in the Auth0 logs we are getting failed exchange.

---

<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:** [May 6, 2020, 2:47pm UTC](https://community.auth0.com/t/angular-quick-start-oauth-token-access-denied-unauthorized/42484/2 "2020-05-06T14:47:08Z")

</div>

Hey there @MacW!

Thanks for reporting that. Can you follow this FAQ in regards to that? Thanks!

[http://community.auth0.com/t/i-follow-your-docs-quickstart-and-i-have-a-problem-but-it-has-a-github-repo-what-do-i-do-now/39519/3](http://community.auth0.com/t/i-follow-your-docs-quickstart-and-i-have-a-problem-but-it-has-a-github-repo-what-do-i-do-now/39519/3)

---

<div class="post-metadata">

**Author:** ![MacW](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/macw/32/12776_2.png) [@MacW](https://community.auth0.com/u/MacW)\
**Post date:** [May 6, 2020, 3:00pm UTC](https://community.auth0.com/t/angular-quick-start-oauth-token-access-denied-unauthorized/42484/3 "2020-05-06T15:00:06Z")

</div>

Issue created

[https://github.com/auth0/auth0-spa-js/issues/454](https://github.com/auth0/auth0-spa-js/issues/454)

---

<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:** [May 6, 2020, 3:02pm UTC](https://community.auth0.com/t/angular-quick-start-oauth-token-access-denied-unauthorized/42484/4 "2020-05-06T15:02:59Z")

</div>

Thanks a lot! I just pinged the repo maintainer.

---

<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:** [May 21, 2020, 3:03pm UTC](https://community.auth0.com/t/angular-quick-start-oauth-token-access-denied-unauthorized/42484/5 "2020-05-21T15:03:01Z")

</div>

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