Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 02, 2012 12:16 AM by aarnott
May 01, 2012 10:50 AM|LINK
I have used oAuth 2.0 for facebook login in my mvc 3 razor application. Its working fine for all browsers but not ONLY in Chrome on few computers. Its giving me error as
"message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.",
I am not able to figure out the issue, as its not working only for some computers and unfortunately its not working on my Clients machine.
Please help me to get it done.
May 01, 2012 12:38 PM|LINK
I got the solution of this issue. Chorme does exact match for your facebook application url and return url. You need to provide EXACT url of your app.
for eg. if your facebook app is http://www.mydomain.com/ then your url must contain http://www. part and not only mydomain.com
But now can anyone help me to restrict my site such that mysite should always open with www.sitename.com Like if i only enter sitename.com it should redirect to www.sitename.com. My site is in MVC 3.
May 02, 2012 12:16 AM|LINK
I provided the answer to this over here: http://stackoverflow.com/questions/10396499/facebook-login-issue-with-only-chrome-while-using-dotnetopenauth-2-0-in-mvc-3-ap/10406093#10406093