tauqua / gog-galaxy-itch.io

An integration connecting itch.io to GOG Galaxy 2.0 using itch's v2 API
GNU General Public License v3.0
221 stars 14 forks source link

Fix login for methods other than email/password (github) #16

Closed hectorgarbisu closed 4 years ago

hectorgarbisu commented 4 years ago

Don't know much about either gog galaxy's or itch.io's apis. It seems that the redirection that provides the api key after login via github isn't working, probably because github has its own login redirection. This is something that probably will be sorted out but itch.io themselves. For the time being, this commit forces the redirection via javascript whenever the landing page is not the desired one.