mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-29 10:26:29 +02:00
docs: mention alternative bearer token header format (#2155)
This commit is contained in:
parent
16c106441c
commit
d32b8a4d8a
1 changed files with 4 additions and 0 deletions
|
@ -48,6 +48,10 @@ The application interacting with Pomerium must manage the following workflow. Co
|
||||||
1. The script or application is responsible for handling that http callback request, and securely handling the callback session (`pomerium_jwt`) queryparam.
|
1. The script or application is responsible for handling that http callback request, and securely handling the callback session (`pomerium_jwt`) queryparam.
|
||||||
1. The script or application can now make any requests as normal to the upstream application by setting the `Authorization: Pomerium ${pomerium_jwt}` header.
|
1. The script or application can now make any requests as normal to the upstream application by setting the `Authorization: Pomerium ${pomerium_jwt}` header.
|
||||||
|
|
||||||
|
:::tip
|
||||||
|
Pomerium supports `Authorization: Bearer Pomerium-${pomerium_jwt}` in addition to `Authorization: Pomerium ${pomerium_jwt}` format.
|
||||||
|
:::
|
||||||
|
|
||||||
## Example Code
|
## Example Code
|
||||||
|
|
||||||
Please consider see the following minimal but complete python example.
|
Please consider see the following minimal but complete python example.
|
||||||
|
|
Loading…
Add table
Reference in a new issue