# "403: Forbidden" returned by /oauth/token

**URL:** <https://community.auth0.com/t/403-forbidden-returned-by-oauth-token/75568>\
**Category:** Get Help\
**Created:** [December 29, 2021, 3:04am UTC](https://community.auth0.com/t/403-forbidden-returned-by-oauth-token/75568 "2021-12-29T03:04:27Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [January 27, 2022, 12:11am UTC](https://community.auth0.com/t/403-forbidden-returned-by-oauth-token/75568/6 "2022-01-27T00:11:21Z")

</div>

Hi @skot,

Thank you for sending over the HAR file.

After inspecting your HAR file closely, I found that it did not capture the events leading up to the request to `/oauth/token` where you observed the _403 Forbidden_ error.

Generally, the _403 Forbidden_ error happens when the authorization code passed in the request is invalid, revoked, or expired. This is detailed in the [RFC 6749 - The OAuth 2.0 Authorization Framework](https://datatracker.ietf.org/doc/html/rfc6749#section-5.2) specification.

Looking further, I found that you also received an _“access\_denied”_ and _“unauthorized”_ error. This could happen when your request passed an incorrect _client\_id_ or _client\_secret_. You may also need to make sure that these values match the ones provided in your application settings in the Auth0 Dashboard.

Once that is complete, you can log in and obtain the access token.

If you have any further issues, please don’t hesitate to reach out.

Thank you.

---

_[View the full topic](https://community.auth0.com/t/403-forbidden-returned-by-oauth-token/75568)._
