ccpgames / sso-issues

Please file issues with the CCP SSO (login.eveonline.com) here.
17 stars 1 forks source link

[error] => invalid_grant [error_description] => Grant type is not supported. #71

Open Gazza666G opened 3 years ago

Gazza666G commented 3 years ago

My app has been using the esi and i have not changed any of the code however I now get this error whenever I try and use either the authorization_code or refresh_token grant types.

[error] => invalid_grant [error_description] => Grant type is not supported.

When I go onto the developers website and try and view my application I also get an internal service error. But i asked someone else to go onto the dev website and the applications link puts him onto the page for creating an app so looks like its blocking me in someway.

I have reached out to support, but they only said that they dont deal with the esi, does anyone know what the issue is or direct me to someone who can help?

Thanks

Dusty-Meg commented 3 years ago

You are probably sending your grant_type=authorization_code&code= JSON encoded. this needs to be changed to form-url encoded

Head commented 2 years ago

Check if your client_id and secret are right. I've updated my app and had the old values hardcoded.