Closed lunemec closed 2 years ago
You need to have your scope list url encoded and space delimited not + delimited. IE. publicData%20esi-universe.read_structures.v1%20esi-corporations.read_structures.v1
Also publicData may also be the problem, its useless in your context
I have manually tried %20
as delimiter (e.g. space) with no change. Even if I try to use just esi-universe.read_structures.v1
by itself, it results in the same error.
It seems that the "Authorize" button in ESI docs work though. But I can't find any network requests where I could see what the difference is in my case.
https://login.eveonline.com/v2/oauth/authorize?client_id=
This is a working url. Dropped publicData and its working.
Modified your url to the following and its working.
https://login.eveonline.com/v2/oauth/authorize?access_type=online&client_id=
🤦 OMG please ignore this issue. It just works. I used CLI from different APP using different client_id and I did not notice. Sorry. Closing.
For future reference, SSO issues should be reported at https://github.com/ccpgames/sso-issues as this isn't an ESI issue.
Bug
When trying to authorize with V2 SSO (V1 has the same issue after the update), I can no longer use scope
esi-universe.read_structures.v1
, even though ESI docs and Developer portal specify this scope.This can be consistently reproduced, if any more information is required, please let me know.
Request
GET https://login.eveonline.com/v2/oauth/authorize?access_type=online&client_id=...&redirect_uri=http%3A%2F%2Flocalhost%3A3000%2Fcallback&response_type=code&scope=publicData+esi-universe.read_structures.v1+esi-corporations.read_structures.v1&state=...
Response
Status Code
400
Headers
Expected
Expected the scope to work, or there to be migration guide for changed scopes that is consistent with ESI docs and Developer portal.
200
+ redirect to APP URLChecklist
Check all boxes that apply to this issue: