Scalar with Bearer Token
How do I set Scalar or OpenApi to let me input the Authentication Bearer Token?
It's not giving me any field to set it up.

7 Replies
You put the token in
Authorization
header
like
Authorization: Bearer YOUR_TOKEN_HERE
there's a headers section as you can seeOkay, but... There is a section done for Authentication specifically. I hoped they ease that part, and once you set one request with it every request will be authorized
I still think I have something missconfigured

Empty there
What I want is not set the Authorization header every time. Set either a cookie or set the value once for each endpoint.
Well, cookies work well for this
scalar has discord server, the dev team is pretty active there
you should try asking there
it works if I go through swashbuckle in my case but not through the openapi implementation of Microsoft
I would check the generated files, kind of interested to get your feedback for what actually "breaks" scalar bearer detection
I have the same problem!