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

Twitter Callback URL is no longer working #217

Open
joncursi opened this issue Jul 13, 2018 · 5 comments
Open

Twitter Callback URL is no longer working #217

joncursi opened this issue Jul 13, 2018 · 5 comments

Comments

@joncursi
Copy link

Login with twitter gives an error "Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings".

Previously this was working fine.

My configuration object looks like:

{
    consumer_key: TWITTER_OAUTH_KEY,
    consumer_secret: TWITTER_OAUTH_SECRET,
}

Later I found that there happened a change recently in twitter api.

https://twittercommunity.com/t/action-required-sign-in-with-twitter-users-must-whitelist-callback-urls/105342

My callback url added in twitter app looks like "http://samplereactapp.com". This issue happens for both android an ios app. How can I resolve this issue? Please help me.

The problem is that the Twitter APps UI does not let you specify a non-http callback URL.

Thanks in advance.

@joncursi
Copy link
Author

@maxcodes
Copy link

Following the advice in this comment solved this for me: #42

@keenubee
Copy link

Seems like Twitter oAuth callback can't resolve on iOS now.
I've set up MyApp scheme both in URL Types and Callback URL on Twitter (MyApp://), i can successfully log into Twitter and authorize my app but after that i can't get any response in .then() (or catch()).
Callback in AppDelegate is correct (Facebook works fine).
Any advice?

@Johncy1997
Copy link

Am not able to use this npm for social auth.Nothing is working fine. I did all steps mentioned there..Its outdated

@Julious1994
Copy link

Julious1994 commented Dec 27, 2020

I got the fix
Add callback urls in twitter account with your URL schemes added in URL types of xcode project.

For ex. URL Schemes: docviewer

IN twitter: docviewer://

you can check callback_url in logo also when you run ios app.

But same problem like @keenubee

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

5 participants