Is there a way to use the the auth information from my .NET MVC application with my ServiceStack api that is in the same project?
Basically make the [Authenticate] tag in my mvc controller perform the same function in my servicestack api?
Is there a way to use the the auth information from my .NET MVC application with my ServiceStack api that is in the same project?
Basically make the [Authenticate] tag in my mvc controller perform the same function in my servicestack api?
You can use ServiceStack’s [Authenticate]
to authenticate MVC Controllers using ServiceStack Auth that inherits from ServiceStackController
but not the other way around and apply MVC Attributes for ServiceStack Services.