close
The Wayback Machine - https://web.archive.org/web/20130616221642/https://dev.twitter.com/discussions/10889

403 After submitting credentials on OAuth sign-in page

datwelk
@datwelk Damiaan

As of this afternoon I'm getting a 403 HTTP error after submitting credentials on the OAuth sign-in page. I haven't changed anything in my code which has been working fine until now.

The 403 happens during the procedure described here: https://dev.twitter.com/docs/auth/implementing-sign-twitter. As part of step 2 I show a webview which loads https://api.twitter.com/oauth/authenticate?oauth_token= (the sign-in page). Then after submitting my account credentials on that page, I get this error: "403 Forbidden: The server understood the request, but is refusing to fulfill it." This happens both when I enter wrong credentials and when I enter the correct credentials.

I really have no idea what's going on here since I didn't change anything. The error doesn't show up in other apps. I also tried using different IP addresses, but no luck there either.

39 weeks 3 days ago

Replies

episod
@episod Taylor Singletary

Can you share the app ID or consumer key you're using web this problem occurs? Thanks!

39 weeks 3 days ago
datwelk
@datwelk Damiaan

Thanks for your reply. Consumer key: YpNzrB79n5TnNbgIeqIfcw.

39 weeks 3 days ago
janole
@janole Jan Ole Suhr

Hi Taylor,

I am getting the same error over here for "Gravity!". Consumer key: YHvh158suQ0SV3NiYkU9Q.

Thanks for any help.

39 weeks 3 days ago
janole
@janole Jan Ole Suhr

Just a quick follow-up: is it possible that the Twitter OAuth login now requires cookies to work correctly? The browser I am using doesn't support cookies ...

39 weeks 3 days ago
datwelk
@datwelk Damiaan

Yep, looks like it does. I previously had cookies disabled and it's working now again after enabling cookies.

39 weeks 3 days ago
janole
@janole Jan Ole Suhr

For me it's a bit more difficult as I cannot enable cookies :-(

39 weeks 3 days ago
episod
@episod Taylor Singletary

Thanks for the details everyone, I'm working with our team on diagnosing and resolving this.

39 weeks 3 days ago
episod
@episod Taylor Singletary

Sorry for the difficulty with these endpoints -- the problem should now be resolved.

Thanks,
@episod

39 weeks 3 days ago
janole
@janole Jan Ole Suhr

Yay, it's working again for me.

Thanks a million for the quick fix, Taylor!! :-)

39 weeks 3 days ago
alignminds1
@alignminds1 alignminds

Hi,
i am getting a 403 status while working with update with media.consumerKey: 'QyTkRg1Lp8QMVxwvtnAg'.
please give any suggestions

18 weeks 4 days ago
pramanathan1
@pramanathan1 pramanathan

Hi guys,
now i am also getting the 403 Forbidden:The server understood the request, but is refusing to fulfill it.the previous week it's working great in login credential page but today i got the above error. so i share my consumerKey:67KGBUuiTiGeIFQMSRGc6w.
please fix it this issue for me taylor...

9 weeks 6 days ago
janole
@janole Jan Ole Suhr

Same over here. We've had this before (I think a couple of months ago.)

If I remember correctly, it was related to the OAuth pages suddenly requiring cookies.

@episod fixed it quickly last time. Hope he can do it again ;-)

9 weeks 6 days ago
pramanathan1
@pramanathan1 pramanathan

thanks for your reply janole. how episod fixed the above issue? any code including twitter+oauth sdk?if u know?

9 weeks 6 days ago
janole
@janole Jan Ole Suhr

I assume @episod sent an eMail to the "appropriate" people working on the OAuth website :-}

Hopefully it will be fixed soon. The browser I am using for authenticating via OAuth doesn't support cookies :-/

9 weeks 6 days ago
pramanathan1
@pramanathan1 pramanathan

so episod sent code to your email. i totally confused pls explain this issue why it occurs? and where? how u resolved this issue using episod code.please reply me.

9 weeks 6 days ago
pramanathan1
@pramanathan1 pramanathan

mr.episod pls help me for the above issue how to solve that one?where was problem started and reason for that problem? it;s very urgent...

9 weeks 6 days ago
episod
@episod Taylor Singletary

Sorry for the issues, folks. We had an issue over the weekend that required a hotfix to oauth/authenticate. This hotfix ended up requiring cookies where they were previously non-required. We are working on a follow-on fix today that will resolve the underlying issue without requiring cookies for environments such as yours that do not support them. Thanks for your patience while we complete the fix.

9 weeks 6 days ago
sickp
@sickp Adrian B. Danieli

Do you have an updated time estimate for this fix? No one has been able to sign in with our iOS apps for about 18 hours now.

9 weeks 6 days ago
markbritten
@markbritten Mark Britten

We also need urgent fix for this problem, can you please provide time estimate for when this will be fixed, thanks

9 weeks 5 days ago
drnkwlst
@drnkwlst Mark

Funny thing: I've disabled cookies in default browser and now it works fine for me!

9 weeks 5 days ago
episod
@episod Taylor Singletary

Those who were having issues with web browsers that did not support cookies and oauth/authorize or oauth/authenticate should now be functional again. Let me know if you continue to experience such difficulties.

9 weeks 4 days ago
dictionarypr
@dictionarypr David

verry good

8 weeks 6 days ago
JoeMayo
@JoeMayo Joe Mayo

Same problem here - ConsumerKey: 7H7qflDJknPhWiLBDkLA

403 Forbidden: The server understood the request, but is refusing to fulfill it.

8 weeks 5 days ago
ctsdataminer
@ctsdataminer Arshad Hussain

I am getting 401 unauthorized error. The same code was working for me before. Now it is generating a 401 error. I am using proper consumer key and consumer secret. Evreything is same, it just stopped working when I upgraded from API v1.0 to API v1.1. Kindly explain.

4 weeks 4 days ago
Mugu_Yaaro
@Mugu_Yaaro b0y FLâ–²CK0

For about 5 days now,i have been receiving an error message " Failed to validate oauth signature & token" when I try signing in to twitter via my windows phone.Pls can @episod or anyone help me out?

3 weeks 13 hours ago
TruBeautyVee_xo
@TruBeautyVee_xo ShesBombb;

i dont understand since yesterday i tried following some of my friends and this keeps coming up "You are unable to follow more people at this time. Learn more here." why is this?...i learnt that the following limit is 2000 when clearly i am only following 612 persons...this shouldnt happen please help! :(

1 week 2 days ago