aspnet-core-basic-authentication-api
aspnet-core-basic-authentication-api copied to clipboard
Return Message With Status
This is message not showing in postman AuthenticateResult.Fail("Invalid Authorization Header");
Same with Swagger.
The only message that is returned is Error: Unauthorizes
.
Same with Swagger. The only message that is returned is
Error: Unauthorizes
.
Ahha, it's because the current implementation does not support this kind of response. I just wonder is there possibility to return custom response?