Skip to content

problems with IConfigureOptions in aspnet core 2 #19

Description

@maxlego

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions