Skip to content

Respect AuthenticationScheme #36

Description

@Steinblock

While it is possible to use a custom scheme with

services.AddAuthentication("custom")
            .AddBasic("custom", options => { ... });

this is ignored by idunno.BasicAuthenticationHandler
and the const value of BasicAuthenticationHandler._Scheme
is used instead in HandleAuthenticateAsync and HandleChallengeAsync.

Since the configured scheme is stored in
AuthenticationHandler<TOptions>.ClaimsIssuer
this value should be used instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions