mawie81 / electron-oauth2

A library to handle OAuth2 authentication for your Electron app.
MIT License
99 stars 56 forks source link

Wrong Code for AccessToken generation if secondary login with oAuth #25

Open AlexandreKilian opened 7 years ago

AlexandreKilian commented 7 years ago

This might somehow be related to #19 , but the result was a bit different for me... Using OAuth to login in to streamjar, and logging in via oAuth with Mixer there returned the Code from Mixer that was meant for Streamjar because it resolves as soon as there is a code param... I've got a quick fix that will check if the redirectUri is in the URI, will do a pull request