I setup the local environment to run the example and also ran the upstream nodejs-jwt-authentication-sample repo with node server/server.js.
When I went to Sign Up via the Vue frontend, I am able to create a new user. However, when I am redirected to the secret quote, I am given a 401 unauthorized.
I reviewed the code in src/auth/index.js and realized that this code repo isn't doing anything with the access_token that the upstream example responds with. I changed this file to look like the below and everything seems to work as expected:
I setup the local environment to run the example and also ran the upstream
nodejs-jwt-authentication-sample
repo withnode server/server.js
.When I went to Sign Up via the Vue frontend, I am able to create a new user. However, when I am redirected to the secret quote, I am given a 401 unauthorized.
I reviewed the code in
src/auth/index.js
and realized that this code repo isn't doing anything with theaccess_token
that the upstream example responds with. I changed this file to look like the below and everything seems to work as expected:Did I miss a step, or is this just a case of a required repo changing upstream?