Closed douglasqueirozalmeida closed 11 months ago
@SMILEY4 can you help?
Hi,
i can change it to lowercase bearer
. Though i am not quite sure why the validator reports this as an error. According to https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml Bearer
should be a valid name.
I would like this to be changed back to "Bearer", since I can't use authentication in Swagger UI because of lowercase 'b'.
Taken from https://www.rfc-editor.org/rfc/rfc6750.html#section-2.1
2.1. Authorization Request Header Field
When sending the access token in the "Authorization" request header field defined by HTTP/1.1 [RFC2617], the client uses the "Bearer" authentication scheme to transmit the access token.
I don't know if the documentation is out of date or if it really is a problem.
JSON
Swagger Validate
The problem is because the word
Bearer
has the first letter capitalized. It needs to be all in lowercase letters.bearer