Invalid_request: Unknown client:

Hi all,

I am using the quick start demo for a regular web application using Node.js. When I run the app on localhost I am able to log in fine, but when I deploy that app with Heroku I am not able to log in. I am met with an error saying that invalid_request : Unknown client: (old client ID from old app here). It is displaying my old clientID from an old app I’ve already deleted from the dashboard.

In the auth0 dashboard I have created a new app with new client ID and such and did not touch the .env file so, not sure why it is not recognizing the new clientID.


Hey @Jayvong96,

I know it’s been some time, so you probably solved this issue by now. I wonder if it has to do with Heroku’s build cache keeping the old .env file instead of using the new one.