I'm trying to run this example. I've created my CLIENTID and CLIENTSECRET environment variables and verified that they are correct, and do not have any leading or trailing whitespace. I've also run npm install. However when I run the app, I get a 401 error with the description from above. What does this mean?
I've looked all over the place, and it seems like the normal issue that causes this is either whitespace in the environment variables, or a lack of a product name and email in the Google cloud console. I have checked and double checked all of those things. Thanks!
Odd. I fixed the issue by hardcoding the CLIENTID and CLIENTSECRET values right into package.json, instead of using environment variables. It works now though.
I'm trying to run this example. I've created my
CLIENTID
andCLIENTSECRET
environment variables and verified that they are correct, and do not have any leading or trailing whitespace. I've also runnpm install
. However when I run the app, I get a 401 error with the description from above. What does this mean?I've looked all over the place, and it seems like the normal issue that causes this is either whitespace in the environment variables, or a lack of a product name and email in the Google cloud console. I have checked and double checked all of those things. Thanks!