Auth0 Home Blog Docs

No authorization token was found - POST request to custom API secured with express-jwt



I’m trying to make a POST request to a secured endpoint on my custom API server. All other requests return as expected. The endpoint uses express-jwt to check the supplied token as outlined in the Auth0 documentation.

I’ve checked and both the authorization header and body data is received correctly by the API. To make the request, I’m using axios.${API_URL}/,{headers, data:data})…

Am I making a rookie error?

Any help would be greatly appriciated, thanks!


Bump! Any suggestions?