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
--------------