exodus4d / pathfinder

Mapping tool for EVE ONLINE
https://www.pathfinder-w.space
MIT License
382 stars 248 forks source link

sso/CallAuthorization 2.0.0 #956

Open VyndarielAriami opened 4 years ago

VyndarielAriami commented 4 years ago

Hi,

after trying to upgrade vom 1.5.5 to 2.0.0 I decided to wipe the database and make a fresh install.

Everything worked, until I tried to login:

{"error":"invalid_request","error_description":"The callback URI doesn't match the value stored for this client"}

I checked the Application, as well as the .ini-files if there got something changed.

Using Nginx

server {
    if ($host = pathfinder.xxxxxx.com) {
        return 301 https://$host$request_uri;
    } # managed by Certbot
    listen 80;
    server_name pathfinder.xxxxxx.com;
    rewrite ^ https://pathfinder.xxxxxx.com$request_uri? permanent;
}

server {
    listen 443 ssl http2;
    ssl_stapling on;

    server_name pathfinder.xxxxxx.com;
    error_log /var/www/pathfinder.xxxxxx.com/logs/error.log;
    root /var/www/pathfinder.xxxxxx.com/public;

    location / {
        try_files $uri /index.php?$args;
    }

    location ~ \.php$ {
        try_files $uri =404;
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass unix:/run/php/php7.2-fpm.sock;
        fastcgi_index index.php;
        include fastcgi.conf;
    }

    ssl_certificate /etc/letsencrypt/live/pathfinder.xxxxxx.com/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/pathfinder.xxxxxx.com/privkey.pem; # managed by Certbot
}
Tupsi commented 4 years ago

There is a change in the scope of esi rights you need to log back in. Did you add that on the eve developer side to your api calls? In any case, this isnt a code issue, this should be closed and you should reask that in the slack #support channel please.

from the release/upgrade notes:

  1. Add new ESI Scope esi-characters.read_corporation_roles.v1 to your app:

https://developers.eveonline.com/