Our Twitter login code is failing on multiple sites that have not been changed for months or even years. Everything works fine until we get to the final step of calling /oauth/access_token with Matt Harris’ tmhOAuth library. At that point we get a 404 error.
I know this is not our code, since I can reproduce a similar error in Twitter’s own authorize page. Try this sequence:
- Try to authorize an app with any site that has a log in with Twitter option.
- When you get to the Twitter authorize page, pull down the menu from beneath the current account, and select “Sign Out”.
- At this point the page tries to load: https://api.twitter.com/intent/session. The load fails with a 404 error.
So it is clear that Twitter’s authorize system is failing at this point. I assume the same failure situation is affecting our login code.