I have recently created web services using authentication and roles through ServiceStack 4 including openId and OAuth providers Google, Twitter and LinkedIn backed by a MongoDB repository.
I would like to integrate those services with my ASP.NET 5 MVC website that currently uses Microsoft's new Identity (OWIN) framework with the same providers for registration, authentication and roles.
I would prefer to use ServiceStack for authentication, registration and roles and have my MVC Controllers authorize against that. I've read the posts regarding SimpleMembership
and the wiki around Authorization and Session Handling in ServiceStack.
What I would like to know is if there is a starter template or example that takes the latest MVC 5 template and replaces/integrates that with ServiceStack 4.
Specifically, how does the existing AccountController
, IdentityUser
, UserManager
and UserStore
get replaced/modified to use ServiceStack?