These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

A litle problem

Author
Haradil Rakknarok
Gh0st of Eden
Parallaxis Alliance
#1 - 2017-07-09 22:29:42 UTC

I folow instruction step by step but if i login with admin he write:
{"error":"invalid_request","error_description":"The callback URI doesn't match the value stored for this client"}

Is this a problem with eve develop url?
Blacksmoke16
Resilience.
#2 - 2017-07-10 01:18:00 UTC
This means the callback URL you are using doesn't match the one you put into your developer app. Such as, using localhost and having it set to an actual domain.
Haradil Rakknarok
Gh0st of Eden
Parallaxis Alliance
#3 - 2017-07-10 02:06:36 UTC
Ok thanks i have fix this problem but next problem is phpbb says after eve login screen Error: Invalid auth state.
Blacksmoke16
Resilience.
#4 - 2017-07-10 03:14:43 UTC
Make sure you are using HTTPS
Haradil Rakknarok
Gh0st of Eden
Parallaxis Alliance
#5 - 2017-07-10 03:48:31 UTC
i do use it
Blacksmoke16
Resilience.
#6 - 2017-07-10 03:58:39 UTC
Dunno then, haven't encountered that error before :/
Minerva Arbosa
Spatial Forces
Warped Intentions
#7 - 2017-07-13 21:03:27 UTC
Invalid auth state usually refers to either missing a step in the correct order or the program is unable to figure out which step it is currently on for authorization. Typically in php programmers use uniqid() and store it in the session. Make sure you aren't creating the uniqid() more than once for a given login attempt.

Psueocode:

Create uniqid()
Store it in the session data
Pass the uniqid to the login button as a variable
(User clicks login button and verifies information with CCP servers)
CCP servers pass the uniqid back to the website through the callback uri.
Check the passed uniqid from the callback uri to the session data. If the two are equal then we are in the same session and we continue the process, otherwise we reset the state back to the start since the two values were different.
Retriever access token
Retrieve character id.