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

application with callback url problem #91

Open
daidai opened this issue Sep 24, 2011 · 4 comments
Open

application with callback url problem #91

daidai opened this issue Sep 24, 2011 · 4 comments

Comments

@daidai
Copy link

daidai commented Sep 24, 2011

If the Twitter application has a callback URL it doesn't finish authenticating and self closing, it redirects to the URL. If I remove the callback URL it works perfectly.

@adriaant
Copy link

You should actually use the callback url. It's the most user-friendly approach. See https://github.com/adriaant/OAuthWithCallback

@daidai
Copy link
Author

daidai commented Sep 24, 2011

I dont want to redirect though, I want the modal display to dismiss itself.

@adriaant
Copy link

That's the trick, you catch the redirect request and instead of redirecting you grab the info from the redirect URL and complete the registration. Then you can just dismiss the modal. More info is in the blog post linked to from the github page I mentioned.

@pixeled
Copy link

pixeled commented Apr 26, 2012

I'm in the same boat-
(twitter callback is required for Android app)

short of using a WHOLE NEW LIBRARY (OAuthWithCallback), what's the magic to feed the extracted auth data from the callback, and put it into this library?

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

3 participants