Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for non popup window workflows? #26

Open
aalmazan opened this issue Dec 1, 2016 · 1 comment
Open

Support for non popup window workflows? #26

aalmazan opened this issue Dec 1, 2016 · 1 comment

Comments

@aalmazan
Copy link

aalmazan commented Dec 1, 2016

Hi there,

I'm running into a problem with integrating Stripe's OAuth2 using the preferred workflow. It seems that after logging in, Stripe will nullify window.opener thus making any subsequent OAuth callbacks useless since it won't have any previous context to use.

From what I see here: https://github.com/amkirwan/ember-oauth2/blob/master/addon/services/ember-oauth2.js#L55, it looks like authorize() will always create a new window to kickstart the OAuth process.. so I'm assuming no?

EDIT: Forgot to add references related to Stripe issue:

@amkirwan
Copy link
Owner

amkirwan commented Dec 9, 2016

Are you using the client-side (Implicit grant flow) workflow for authorization with stripe?

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

No branches or pull requests

2 participants