mgroves / realworld-aspnet-couchbase

Conduit implementation: ASP.NET Core + Couchbase
https://realworld.io
MIT License
12 stars 4 forks source link

Swashbuckle using "Bearer" instead of "Token" #9

Open mgroves opened 1 year ago

mgroves commented 1 year ago

The Conduit spec is to use Authorization: Token {jwt token here}, and that currently works (use Postman). But some part of Swashbuckle/SwaggerUI/OpenAPI generates Authorization: Bearer {jwt token here} and I can't figure out a way to change it.

Option 1: Remove Swashbuckle/Swagger Option 2: Figure out a workaround (I have a question posted on SO: https://stackoverflow.com/questions/76448339/changing-bearer-to-something-else-in-the-header-like-token-for-jwt)