While looking through the code I noticed that nothing uses the configured forbid schemes by default (GetDefaultForbidSchemeAsync). https://github.com/aspnet/HttpAbstractions/blob/d894584254ccc5a2eb5671530b2ec9880fb097c0/src/Microsoft.AspNetCore.Authentication.Core/AuthenticationService.cs#L112-L122 Seems like ForbidAsync *should* use the specificed ForbidScheme (if any). /cc @HaoK
While looking through the code I noticed that nothing uses the configured forbid schemes by default (GetDefaultForbidSchemeAsync).
HttpAbstractions/src/Microsoft.AspNetCore.Authentication.Core/AuthenticationService.cs
Lines 112 to 122 in d894584
Seems like ForbidAsync should use the specificed ForbidScheme (if any).
/cc @HaoK