none
Azure oAuth enabled MVC login page crashes in mobile site RRS feed

  • Question

  • Hello,

    I have created an MVC 4.0 app and hosted it in Azure. The app uses OAuthWebSecurity to Login using other services like facebook, twitter, google etc. The app works great in a desktop/laptop but when viewed in mobile the login page crashes saying "Error occured". What is the best way to know what is wrong? I am guessing that oAuth web security is throwing some error. 

    I am using jquery.mobile.mvc to display the mobile site.

    Has any one faced this issue?

    Any help will be highly appreciated.

    Thanks

    DJ

    Wednesday, November 14, 2012 6:20 PM

Answers

All replies

  • Alright. I seemed to have figured this out. The problem was because of both facebook hash and ajax. Below is the article I referred to fix this issue.

    http://stackoverflow.com/questions/12573824/how-to-get-oauth-working-on-mvc4-mobile

    Thanks to espenalb for his research and resolution.

    • Marked as answer by Debajyoti Basu Thursday, November 15, 2012 4:07 AM
    Thursday, November 15, 2012 4:06 AM
  • Thank you for your active participation in the MSDN community.
    Thank you for posting in the MSDN forum.
    I'm glad to hear that you resolve this issue.
    Thank you for sharing your solutions and experience here. It will be very beneficial for other community members who have similar questions.
    If you have any difficulty in future programming, we welcome you to post here again.
    Thursday, November 15, 2012 4:20 AM
    Moderator