thisischichi.me

The Blog of Chi-chi Ekweozor, software engineer. Functional Programming, Elixir, Clojure, DevOps, and the occasional JavaScript.

Sidebar

Social

  • View thisischichi’s profile on Twitter
  • View thisischichi.me’s profile on Instagram
  • View chichiekweozor’s profile on LinkedIn

The Details

  • About

Recent Posts

  • And it’s done!! #ManchesterMarathon #Run4Hope
  • The day has come! #ManchesterMarathon #Run4Hope
  • Wow, scary…I’m actually running a full marathon not half! #ManchesterMarathon
  • Yes, I’m running in the Manchester Marathon, for Run 4 Hope and The Christie
  • Northern Power Women Awards, and more!

Recent Comments

  • Event Highlights: Ladies that UX MCR – Lightning Talk – Being a Female Founder and Software Engineer – thisischichi.me on Meet Assenty, the Elixir Phoenix-powered social Question Board service
  • Event Highlights: Ladies that UX MCR – Lightning Talk – Being a Female Founder and Software Engineer – thisischichi.me on Event Highlights – ThoughtWorks Women: Be Bold for Change
  • Elixir/Phoenix Mix Tip #1: mix deps.unlock – thisischichi.me on Learning Elixir at Manchester Lambda Lounge
  • Learning Elixir at Manchester Lambda Lounge – thisischichi.me on Build Your Own Real-Time Web Service with Elixir/Phoenix: Assenty Show and Tell
  • admin on Viva La Blogger

Archives

  • October 2021
  • September 2021
  • April 2021
  • March 2021
  • December 2020
  • October 2020
  • July 2020
  • June 2020
  • March 2020
  • November 2018
  • October 2018
  • August 2018
  • June 2018
  • March 2018
  • October 2017
  • July 2017
  • May 2017
  • April 2017
  • March 2017
  • November 2016
  • August 2016
  • June 2016

‘Sign in with Twitter’ broken for you? Here’s how to whitelist your callback URL on apps.twitter.com

Standard

Are you a developer or maintainer of an app that uses Twitter’s incredibly useful Sign in with Twitter functionality?

Are you suddenly getting error messages similar to the one below when trying to log in?

Callback URL not approved for this client application. Approved callback URLs can be adjusted in your application settings

This blog post might be useful.

This error message, part of a 403 Forbidden Error HTTP status code returned on attempting to log in with Twitter, is indicative of the fact that your app’s callback URL which probably worked for months is not yet whitelisted as part of Twitter’s new security policy:

As part of our continued effort to ensure safety and security in our developer platform, we’re announcing a new requirement that any developer using Sign in with Twitter must explicitly declare their callback URLs in a whitelist on apps.twitter.com.

In 30 days, we will begin enforcing the whitelist such that any URL not added to the whitelist will fail. This means that URLs can no longer be programmatically overridden in calls to the oauth/request_token endpoint. The callback_url parameter provided must match one of the whitelisted callback URLs.

To fix this, you need to whitelist your callback URL on apps.twitter.com.

So, how does one whitelist a callback URL?

There are more details on callback URLs here but it’s a very simple fix if you already have one set.

How to whitelist your callback URL:

  1. Simply log in to apps.twitter.com with your Twitter developer account, select your app and click on the Settings tab.
  2. Scroll down the page and click on the checkbox to enable the setting “Enable Callback Locking (It is recommended to enable callback locking to ensure apps cannot overwrite the callback url)”.
  3. Click on the Update Settings button.

If done correctly, your settings will be updated as below on the Details tab:

Hope that helped!

Image credit: jasonbase.com

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on Google+ (Opens in new window)
  • More
  • Click to share on Facebook (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to print (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)

Related

  • Date June 19, 2018
  • Tags Oauth, Sign in with Twitter, Twitter callback URL, Twitter Developer community, whitelist your callback URL on apps.twitter.com
  • Comments Leave a comment

Post navigation

Event Highlights: Afrotech Fest 2018 – #Afrotechfest
ELIXIR/PHOENIX MIX TIP #2: MIX DEPS.UNLOCK
  • Twitter
Proudly powered by WordPress
Theme: Writr by WordPress.com.