Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Secondary Oauth #19

Open
kateract opened this issue Jun 6, 2017 · 2 comments
Open

Secondary Oauth #19

kateract opened this issue Jun 6, 2017 · 2 comments

Comments

@kateract
Copy link

kateract commented Jun 6, 2017

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
Copy link

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

image
image
image

@platypusmuerte
Copy link

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 ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants