Posted on: 5/22/2014 9:45:47 AM | Views : 561

Hello,
I am trying to do SSO across a Windows 8 App and an ASP.NET page, but I would like to do it in a cleaner way than what I see in this sample.
TIn the sample, when the Windows 8 App wants to tell the site "look, do that for the connected user - the one using this Microsoft account", it sends an authorisation token. Then, with a call to LiveSDK, the site gets the userId.
The problem with this exaple is that it is not ready for production use. The ASP.NET User is not necessarily up to date and ther [token to User] mapping is done inside the Controller Action, not at a global level.
I would like this to be a bit more consistent and integrated: whenever there's a request to the site, containing this token, try to authenticate the user. I think I understood what I need to do, but I stil ...

Go to the complete details ...