Auth0 Home Blog Docs

401 thrown on /oauth/token

I created applications/clients using the npm auth0 package.
I implemented the login system on my application using the programatically created “native” client (using the PKCE flow).

When trying to get the token from /oauth/token, I get a 401 (with no body response).
When I go on manage.auth0.com, go onto my programatically created client inside “Applications” and just click “save” (not modifying anything), it then starts working.

Is there anything that I need to do to make it work right from the start and not to have to go on the dashboard and click “save”?

Thank you very much for your help!

Hi @jabbaservices,

Welcome to the Auth0 Community!

I’m going to look into this for you, and I have a couple questions. Could you send me your tenant name in a DM? What SDK/framework are you using?

Thanks,
Dan

@jabbaservices,

I am not seeing anything right off the bat. I think this might need more information.

Could you record a .HAR file of the error and DM it to me?

Thanks,
Dan