What is the best way to architect the next authentication solution?
I have a standalone (not integrated with MVC) service level ServiceStack REST. This service is the entry point to all my data. Data is not stored on the client.
I have several clients (ASP.Net MVC 4 website, MonoTouch application, MonoDroid application, Silverlight application, MonoMac application, etc.).
I would like to provide authentication (Facebook, Twitter, etc.) at the service level, including storing users in MongoDBAuthRepository, but allow clients to provide a login interface (do I need this?). For example, for an MVC site, I would like to integrate the remote ServiceStack authentication service (including Facebook, Twitter) with the MVC authentication system. It seems that the actual authentication should be done by the service side, but the client side needs to keep the authentication response.
I read the wiki, watched SocialBootstrap and read the forum, but I'm still confused about how this should work in a distributed way.
authentication servicestack
Rob gibbens
source share