# 403 Client Error: Forbidden for url {domain}/oauth/token

**URL:** <https://community.auth0.com/t/403-client-error-forbidden-for-url-domain-oauth-token/55798>\
**Category:** Get Help\
**Tags:** login, auth0\
**Created:** [January 6, 2021, 11:07pm UTC](https://community.auth0.com/t/403-client-error-forbidden-for-url-domain-oauth-token/55798 "2021-01-06T23:07:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![beekeeper](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/beekeeper/32/26156_2.png) [@beekeeper](https://community.auth0.com/u/beekeeper)\
**Post date:** [January 6, 2021, 11:07pm UTC](https://community.auth0.com/t/403-client-error-forbidden-for-url-domain-oauth-token/55798/1 "2021-01-06T23:07:38Z")

</div>

Hello! I am working with a django website that has just entered production via heroku hosting. After going into production I had to update Client ID and Secret for the google-oauth connection. Upon doing so, my login seemed to break.

Here is some additional info:

- It works fine when hosted locally
- It worked fine on heroku before adding the production Client ID/Secret from google

When I go to /login/auth0 it begins a redirect loop due to not being able to get to /oauth/token. When I hit “retry” on the error page, it gets to the actual error. This is pictured.

 ![cmd_blueDDlOjf](https://global.discourse-cdn.com/auth0/original/3X/3/4/3408674b519079f315ab255e1e72e5c02d912e07.png)

 ![cmd_jm8BTPDtfu](https://global.discourse-cdn.com/auth0/original/3X/4/d/4d42023f7981d6c36f716287c387cf9f29b14f92.png)

 ![firefox_yyMdlMDu0m](https://global.discourse-cdn.com/auth0/original/3X/9/4/942d50f534c5433dc88118e4f9636cc39bf0c8bf.png)

In development I was really enjoying the prospect of using auth0, but I am at a bit of a wall here. Any help at all would be greatly appreciated. If any additional information is needed please let me know.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [January 6, 2021, 11:23pm UTC](https://community.auth0.com/t/403-client-error-forbidden-for-url-domain-oauth-token/55798/3 "2021-01-06T23:23:14Z")

</div>

Hi @beekeeper,

Welcome to the Community!

Are you mixing up the application client ID and secret (found in the Auth0 dashboard), and the google login client ID and secret (found in the google developers console)?

---

<div class="post-metadata">

**Author:** ![beekeeper](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/beekeeper/32/26156_2.png) [@beekeeper](https://community.auth0.com/u/beekeeper)\
**Post date:** [January 6, 2021, 11:30pm UTC](https://community.auth0.com/t/403-client-error-forbidden-for-url-domain-oauth-token/55798/4 "2021-01-06T23:30:45Z")

</div>

Fair question! The google client ID that I just updated is the one on this page (redacted for security):

 ![firefox_CYRcmNIzZk](https://global.discourse-cdn.com/auth0/original/3X/5/1/514fc1bf6065fdac3ee07dae244f23008399b148.png)

When I run the test on this page it says it works. My application has the client ID/secret from the Auth0 dashboard still properly connected.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [January 6, 2021, 11:37pm UTC](https://community.auth0.com/t/403-client-error-forbidden-for-url-domain-oauth-token/55798/5 "2021-01-06T23:37:59Z")

</div>

Yes, those would be the credentials I was referring to. It sounds like both are configured correctly, that is good. 😄

Can you find a log that corresponds to the error and DM it to me?

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [January 25, 2021, 8:48pm UTC](https://community.auth0.com/t/403-client-error-forbidden-for-url-domain-oauth-token/55798/6 "2021-01-25T20:48:08Z")

</div>

Closing after two weeks of inactivity.

---

<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:** [February 9, 2021, 8:48pm UTC](https://community.auth0.com/t/403-client-error-forbidden-for-url-domain-oauth-token/55798/7 "2021-02-09T20:48:16Z")

</div>

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