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

Added plugin to Steroids/AppGyver => OAuth.popup problem #45

Open
massanu opened this issue Jan 6, 2015 · 3 comments
Open

Added plugin to Steroids/AppGyver => OAuth.popup problem #45

massanu opened this issue Jan 6, 2015 · 3 comments

Comments

@massanu
Copy link

massanu commented Jan 6, 2015

Hi,

I added the plugin to an appgyver/steroids application

When I do a Oauth.getVersion() it returns me the version correctly

Then I do a Oauth.initialize('') with the facebook key
But when i call the Oauth.popup('facebook' function I got a : "undefined is not a function"
(in the interface I seen a very fast popup opening and closing blink)

I tried for several days to google and find a reason, I have no idea what's happening

Thanks for helping

@massanu
Copy link
Author

massanu commented Jan 6, 2015

I can see quicky that the popup is trying to open an Url begining with : https://auth.io/oauth/facebo..

@massanu
Copy link
Author

massanu commented Jan 7, 2015

Ok I continued to investigate, I finally fixed the undefined issue but now, the window.open part of the code is run
Then the setInterval begin, but the popup open and close immediately

I read that the issue could be the access origin, but it is set to * (star)

So I am really blocked now, i have already spent 4 days to fix this, I dont know what to do anymore

@angelxmoreno
Copy link

I do a Oauth.initialize('') with the facebook key. That should not be your Facebook key. It should be your OAuth.io public key

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