The docs say to enable authentication - change the password for the user tigergraph. (There are 2 tigergraph users, server and gsql - I assume it refers to the gsql user). OK, I did this. However when I test for the authentication mode like this:
if a token was required (which it should be now) I would get an error message instead.
Note: I was able to generate a secret from the command line. I don’t know if this means anything.
As far as I know, you have multiple graphs. Make sure that the token you are using is from the appropriate graph. Or did you request it within the same session where you want to use it (i.e. by the same app)?
I got the same error: “message”:"Access Denied because the input token = ‘...’ is invalid.
My mistake was using the secret instead of using the /requesttoken?secret=...&lifetime=1000000 to get a token, and then using the token in the request.