Our Composite C1 5.0 implementation uses the MVCFunction feature to leverage some of our existing code. This existing site uses the ASP.net Identity for allowing users to log in an see their data.
When we try include this into our deployment of Composite, we get the following error.
You can see the HttpContext.User is a GenericPrincipal when it's run under C1, but it's a ClaimsPrincipal when it's run as MVC webapp. Suspecting Composite is take ownership of this User context.
Debugging the MVC Function outside of Composite it works fine.
Is anyone else using this scenario? Some hints?
Thank you.
When we try include this into our deployment of Composite, we get the following error.
No owin.Environment item was found in the context.
We can see the Startup Configuration for Owin is spinning up under Composite, but when it comes to handling the request on the controller method of our MVC Function, the HttpContext no longer knows what the Owin is. You can see the HttpContext.User is a GenericPrincipal when it's run under C1, but it's a ClaimsPrincipal when it's run as MVC webapp. Suspecting Composite is take ownership of this User context.
Debugging the MVC Function outside of Composite it works fine.
Is anyone else using this scenario? Some hints?
Thank you.