Always getting 401 / Unauthorized when fetching /oauth/token (already read all the topics, but still stuck)

Everything is int the title. I tried everything and I always get Unauthorized & 401 error code when calling oauth/token.
I don’t have a ny body returned. I’m completely stuck…
First time implementing Auth0 in Regular Web app. I don’t use express, I’m using AstroJS & Solidjs.
I may switch to a simpler solution, since it take too much time to get up and running if you don’t use nextjs nor express…

Hi @kevin.abatan,

Welcome to the Community.

Can you provide additional details? Code, traces, a HAR file etc. In particular it would help to see exactly what you are sending to the token endpoint.

Mark

1 Like

Just set the authentication method to none. That helps. If any body know how to set the client secret when logging in using loginWithRedirect please do tell.