aspnet-core-basic-authentication-api icon indicating copy to clipboard operation
aspnet-core-basic-authentication-api copied to clipboard

Return Message With Status

Open kashif-imagyn opened this issue 6 years ago • 2 comments

This is message not showing in postman AuthenticateResult.Fail("Invalid Authorization Header");

kashif-imagyn avatar Jan 30 '19 20:01 kashif-imagyn

Same with Swagger. The only message that is returned is Error: Unauthorizes.

aaronuurman avatar Dec 19 '19 13:12 aaronuurman

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?

aaronuurman avatar Dec 20 '19 07:12 aaronuurman