Skip to content

Commit

Permalink
docs: mention alternative bearer token header format (pomerium#2155)
Browse files Browse the repository at this point in the history
  • Loading branch information
travisgroth committed Apr 29, 2021
1 parent 16c1064 commit d32b8a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/docs/topics/programmatic-access.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 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

Please consider see the following minimal but complete python example.
Expand Down

0 comments on commit d32b8a4

Please sign in to comment.