Skip to content

Twitter Callback URL is no longer working #217

Description

@joncursi

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.

Activity

  1. joncursi commented on Jul 14, 2018

    @joncursi
    Author
  2. maxcodes commented on Oct 10, 2018

    @maxcodes

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

  3. keenubee commented on Nov 20, 2018

    @keenubee

    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?

  4. Johncy1997 commented on Jun 3, 2019

    @Johncy1997

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

  5. Julious1994 commented on Dec 27, 2020

    @Julious1994

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions