I saw examples that indicate that IApplicationBuilder has an extension method .UseJwtBearerAuthentication(Action<?> options) .
This SO question and AspNet.Security.OpenIdConnect.Server example server startup file seems to say that there is such an extension. On OpenIdConnect, I looked at the extensions folder and I don't see the extension named UseJwtBearerAuthentication. Even this blog says it should be included in ASP.net 5. I also tried to add Microsoft.AspNet.Security.OAuthBearer, 1.0. 0-beta3 in my project.json and link to it in Startup.cs. No help.
The only thing that I have different is that I use -beta7, but I do not think it matters.
source share