Can't quite figure out why, but when i upgraded to aspnetcore 2.0 and idnetity 2, authentication options are not configured any more.
Services config lookes like this:
services
.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme)
.AddCookie(o =>
{
o.LoginPath = "/login";
o.LogoutPath = "/logout";
});
But lamda is not hit.
When i dont return IServiceProvider created by WindsorRegistrationHelper everything works as expected.
Can't quite figure out why, but when i upgraded to aspnetcore 2.0 and idnetity 2, authentication options are not configured any more.
Services config lookes like this:
But lamda is not hit.
When i dont return IServiceProvider created by WindsorRegistrationHelper everything works as expected.