mawie81 / electron-oauth2

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

Secondary Oauth #19

Open kateract opened 7 years ago

kateract commented 7 years ago

I'm trying to use the library to process OAuth2 requests for Mixer.com. Mixer allows you to sign in with a Microsoft, Twitter or Discord account. The electron-oauth2 window will authenticate them with password login, however if they click sign in with Microsoft, they are presented with a blank login. I tried setting sandbox: true in the webPreferences of the parameters passed to the constructor, and that allows the child windows to display and authenticate with their respective services, however when I come back to Mixer and allow the oauth connection, it goes to a white screen and doesn't close the window or return the Auth and refresh tokens. Do you know if there's a way to return the credential with sandbox on, or is there another way to let these child windows be displayed without having to resort to sandbox mode?

itsjesski commented 7 years ago

Just adding some screenshots to try to describe the flow a bit.

image image image

platypusmuerte commented 7 years ago

Is anything happening with this?

I am also affected by this, and not sure what to do. Should I just add the changes from #26 ?