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.
While it is possible to use a custom scheme with
this is ignored by
idunno.BasicAuthenticationHandlerand the const value of
BasicAuthenticationHandler._Schemeis used instead in
HandleAuthenticateAsyncandHandleChallengeAsync.Since the configured scheme is stored in
AuthenticationHandler<TOptions>.ClaimsIssuerthis value should be used instead.