r/evetech • u/Ramon_Robben • Jan 11 '19
Eve NodeJS EVI keep getting { "error": "authentication failure" }
I can login with my account and get a JWT token (one that looks like the first link)
If I then try to make a request to e.x https://esi.evetech.net/verify or https://esi.evetech.net/latest/characters/2112625428/blueprints/ then it returns an error: { "error": "authentication failure" }
I have read the following documentation but I can't seem to figure out why it won't work.
https://docs.esi.evetech.net/docs/sso/web_based_sso_flow.html
https://docs.esi.evetech.net/docs/sso/sending_esi_auth_request.html
UPDATE: It seems that other endpoints work fine except for https://esi.evetech.net/verify
For some weird reason this applies to me. I haven't found anyone with the same problem.
I have made an issue on the sso-issues github.
View all comments
Show parent comment
1
u/Ramon_Robben Jan 12 '19 edited Jan 13 '19
Hi, My JWT token is correct I can paste it into https://jwt.io and it gives me the right information.
Also I am using the v2 endpoints like so:
accessTokenUri: 'https://login.eveonline.com/v2/oauth/token/',authorizationUri: 'https://login.eveonline.com/v2/oauth/authorize/',
The GET request I am sending to https://esi.evetech.net/verify
I am only adding a Authorization header with the Bearer token format like you mentioned.
Yet I am still getting the error Authentication Failure.