SSO Refresh Token (error_description": "Invalid refresh token. Unable to migrate grant)

Hi. I am asking for the help of knowledgeable people.
I am doing everything according to these instructions.

header:
Content-Type: application/x-www-form-urlencoded
Host: login.eveonline.com
Authorization:Basic " . base64_encode("{my client ID}:{My Secret Key}"

Body:
body = array(
“grant_type” => “refresh_token”,
“refresh_token” => “token_client”
);
use POST method
URL: https://login.eveonline.com/v2/oauth/token

But in response I get :

{
“error”: “invalid_grant”,
“error_description”: “Invalid refresh token. Unable to migrate grant.”
}
What am I doing wrong here?

Look like migrating from sso v1 to sso v2 without saving new refresh_token (if once forget save new refresh_token — u lose that authorization).

Within migrate from v1 to v2:

  • refresh_token (v1) will broke,
  • that request (/v2/oauth/token) return new refresh_token (v2), that token u should save and use in future.

Not sure, just looking for how to easy migrate to v2.

I would advice showing our actually code, in case that is the problem.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.