Add Bearer without capitalization
This commit is contained in:
committed by
Steve Chavez
parent
9543e746ec
commit
57d725bab6
@@ -143,6 +143,8 @@ In the function you can run arbitrary code to check the request and raise an exc
|
|||||||
END
|
END
|
||||||
$$ LANGUAGE plpgsql;
|
$$ LANGUAGE plpgsql;
|
||||||
|
|
||||||
|
.. _client_auth:
|
||||||
|
|
||||||
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
|
GET /foo HTTP/1.1
|
||||||
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiamRvZSIsImV4cCI6MTQ3NTUxNjI1MH0.GYDZV3yM0gqvuEtJmfpplLBXSGYnke_Pvnl0tbKAjB4
|
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiamRvZSIsImV4cCI6MTQ3NTUxNjI1MH0.GYDZV3yM0gqvuEtJmfpplLBXSGYnke_Pvnl0tbKAjB4
|
||||||
|
|
||||||
|
The ``Bearer`` header value can be used with or without capitalization(``bearer``).
|
||||||
|
|
||||||
JWT Generation
|
JWT Generation
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
|
|||||||
@@ -34,6 +34,9 @@ Added
|
|||||||
* Allow :ref:`config_reloading` by sending a SIGUSR2 signal.
|
* Allow :ref:`config_reloading` by sending a SIGUSR2 signal.
|
||||||
|br| -- `@steve-chavez <https://github.com/steve-chavez>`_
|
|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`.
|
* 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>`_
|
|br| -- `@steve-chavez <https://github.com/steve-chavez>`_
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user