Can't make post request

SDK: auth0-node

Hello I’m setting up the auth with React in the front and Node on back, everything works fine when I try to make a GET to Node sending the token from an axios.get headers and checking it on the back but as soon as I try to make a post request this error appears ‘UnauthorizedError: No authorization token was found’ it only happens if I try to make a post request.

Here’s also the code snippet on React

const res = await"http://localhost:3010/hello", {
  data: { title: "Test", nombre: "This is a test" },
  headers: {
    Authorization: `Bearer ${token}`,


And here’s the node code (checkJwt works if make a get request but not on post request)'/hello', checkJwt, (req, res) => {
  const {data} = req.body
1 Like

Solved, it was an axios problem

1 Like

Glad you have figured it out!

1 Like