Edit: after progressing, I can narrow the scope of questions:
What changes should be made to startup.auth.cs and ApplicationOAuthProvider.cs in the VS2013 SPA template (using ASP.NET 1.0 identifier) in order to transfer it to ASP.NET identifier 2.0?
Edit 2: I have further simplified this question. How can I use app.UseOAuthBearerTokens with ASP.NET Identity 2.0 middleware to retrieve DbContext?
app.UseOAuthBearerTokens(new Microsoft.Owin.Security.OAuth.OAuthAuthorizationServerOptions()
{
});
(There is no example in this example.)
There are significant differences from V1.0 to V2.0alpha identification systems Asp.net. There is an example that shows how to use V2:
https://aspnet.codeplex.com/SourceControl/latest
(see Samples-> Identification-> Change PK)
but this example is not MVC or SPA. In doing so, I have an application that was created from the VS2013 ASP.NET SPA application (which includes Identity 1.0). I tried to implement the code in the sample inside my MVC application, but I don’t understand which code from the SPA VS2013 template was removed in favor of the code from the sample.
The question is different, does anyone have any recommendations for implementing the alpha version of ASP.NET 2.0 in an ASP.NET MVC application? (Ideally, with steps for moving from the VS2013 MVC SPA template that uses the 1.0 identifier)
source
share