react-native-oauth
react-native-oauth copied to clipboard
Twitter Callback URL is no longer working
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.
Related: https://github.com/adamjmcgrath/react-native-simple-auth/issues/100
Following the advice in this comment solved this for me: https://github.com/fullstackreact/react-native-oauth/issues/42
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?
Am not able to use this npm for social auth.Nothing is working fine. I did all steps mentioned there..Its outdated
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