paxswill / evesrp

EVE Ship Replacement Program (SRP) webapp
BSD 2-Clause "Simplified" License
18 stars 14 forks source link

Auth via EVE SSO error #99

Open jdrc opened 6 years ago

jdrc commented 6 years ago

Sorry in advance if this is something basic i've overlooked. I am stumbling my way through setting up auth via EVESSO. When I go to log on i get the error "Login failed: invalid_request". I have callback set up as https://srp.site/login/eve_sso/ and from what I can tell the ID+Secret in my config.py are correct. What am I missing here?

paxswill commented 6 years ago

Throwing ideas out there a little bit, but do you have the application on developers.eveonline.com set for "Authentication & API Access", with the publicData scope being allowed? Requesting a scope is required for refresh tokens to be allowed with EVE SSO, and publicData is pretty innocuous. Another thing is double checking that you have the URL set with CCP properly; trailing slashes are required.

I've been winning at EVE for a bit, sorry for the delay in getting to this. Let me know if you're still having problems, I can probably poke a little harder at this if needed.

jdrc commented 6 years ago

Hi,

Confirming that the URL and Scope are both set as you describe. Not a problem that you are AFK so don't pressure yourself. I'm using gunicorn to serve the app but can't see any error log mentioning this when the error occurs. Where should I be looking to try and debug this?