Add Bearer without capitalization

This commit is contained in:
steve-chavez
2021-08-09 14:10:46 -05:00
committed by Steve Chavez
parent 9543e746ec
commit 57d725bab6
2 changed files with 7 additions and 0 deletions
+4
View File
@@ -143,6 +143,8 @@ In the function you can run arbitrary code to check the request and raise an exc
END
$$ LANGUAGE plpgsql;
.. _client_auth:
Client Auth
===========
@@ -153,6 +155,8 @@ To make an authenticated request the client must include an :code:`Authorization
GET /foo HTTP/1.1
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiamRvZSIsImV4cCI6MTQ3NTUxNjI1MH0.GYDZV3yM0gqvuEtJmfpplLBXSGYnke_Pvnl0tbKAjB4
The ``Bearer`` header value can be used with or without capitalization(``bearer``).
JWT Generation
--------------
+3
View File
@@ -34,6 +34,9 @@ Added
* Allow :ref:`config_reloading` by sending a SIGUSR2 signal.
|br| -- `@steve-chavez <https://github.com/steve-chavez>`_
* Allow ``Bearer`` with and without capitalization as authentication schema. See :ref:`client_auth`.
|br| -- `@wolfgangwalther <https://github.com/wolfgangwalther>`_
* Config options for showing a full OpenAPI output regardless of the JWT role privileges and for disabling it altogether. See :ref:`openapi-mode`.
|br| -- `@steve-chavez <https://github.com/steve-chavez>`_