electron-oauth2 icon indicating copy to clipboard operation
electron-oauth2 copied to clipboard

Secondary Oauth

Open kateract opened this issue 7 years ago • 2 comments

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?

kateract avatar Jun 06 '17 05:06 kateract

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

image image image

itsjesski avatar Jun 06 '17 21:06 itsjesski

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 ?

platypusmuerte avatar Oct 24 '17 18:10 platypusmuerte