Click here to Skip to main content
15,867,871 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am developing an application on MVC 5 to login with Yahoo. I successfully created an app on yahoo and now after passing my app id and app secret on the `Startup.Auth.cs` page:

C#
app.UseYahooAuthentication("app id", "app secret");


While login with Yahoo it throws an error:

Response status code does not indicate success: 401 (Forbidden)
Posted

1 solution

Your error code is having some problem.

If it's a Forbidden error then it should be 403 .

401 error for Unauthorized access.May be your problem is this.If so please check below links for more info.

Response status code does not indicate success: 401

HTTP Error 401 Unauthorized
 
Share this answer
 
Comments
Nimit Joshi 22-Apr-14 3:45am    
mine is showing the forbidden error.So what should i do?
Sampath Lokuge 22-Apr-14 3:56am    
Please check this list : http://www.w3.org/Protocols/HTTP/HTRESP.html

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900