claims based authentication - the modern way

Unanswered claims based authentication - the modern way

  • Sunday, September 23, 2012 8:29 PM
     
     

    I'm trying to get info on how exactly implement claims based authentication on my web role (MVC 4 website). I'd like to have users to authenticate with Live ID, Facebook and Google.

    I've read about ACS, AAL (Windows Azure Authentication Library), found DotNetOpenAuth nugget package but I'm really stuck with all this. What is the right modern way to implement this in MVC 4 Azure Web Role?

    And I'm talking about VS2012 here.

    • Edited by Alex Beloff Sunday, September 23, 2012 9:21 PM
    •  

All Replies

  • Sunday, September 23, 2012 9:49 PM
     
     

    Hi,

    The lab "Introduction to the Windows Azure Access Control Service"in the Windows Azure Training Kit is a good starting point. I don't think they use MVC, but the principals should be the same.

    The training kit is available here:

    http://www.microsoft.com/en-us/download/details.aspx?id=8396

    Regards,

    Alan


    Free EBook: "Windows Azure Service Bus Developer Guide" http://www.cloudcasts.net/devguide/

  • Monday, September 24, 2012 7:27 AM
     
     

    Thanks for the hint. I'm looking at it right now. But it's VS2010, not 2012. I'm sure I'll implement authentication with ACS but all I'm saying there is no one source of info on this for the current version of the tools. At least I can't find it anywhere.

  • Monday, September 24, 2012 7:48 AM
     
     

    Hi,

    I don't know if there are any docs or waklthroughs for VS 2012, but I dont think there is much difference from VS 2010.

    Regards,

    Alan


    Free EBook: "Windows Azure Service Bus Developer Guide" http://www.cloudcasts.net/devguide/

  • Tuesday, October 09, 2012 2:34 PM
     
     
    ok, I guess this is what I need - http://garvincasimir.wordpress.com/2012/04/05/tutorial-mvc-application-using-azure-acs-and-forms-authentication-part-1 . Is this still relevant to the current state of things in Azure?
  • Tuesday, October 09, 2012 4:11 PM
     
     

    The MVC4 project templates in Visual Studio 2012 already give you some support for authenticating users with Google, Facebook, Live ID, and Twitter, but basically, you only need to uncomment and configure the relevant providers included in App_Start/Auth_Config.cs.

    More information at http://go.microsoft.com/fwlink/?LinkID=252166.