mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-29 02:16:28 +02:00
DOCS: Clarify renaming of claims with underscores (#2971)
* Clarify renaming of claims with underscores * copy edits One to the proposed change, one to existing language Co-authored-by: alexfornuto <afornuto@pomerium.com>
This commit is contained in:
parent
d1c4c55fd9
commit
62c55df1dc
2 changed files with 6 additions and 6 deletions
|
@ -976,14 +976,14 @@ users are encouraged to add these to `set_response_headers` or their downstream
|
|||
- Environmental Variable: `JWT_CLAIMS_HEADERS`
|
||||
- Config File Key: `jwt_claims_headers`
|
||||
- Type: slice of `string`
|
||||
- Example: `email`,`groups`, `user`
|
||||
- Example: `email`, `groups`, `user`, `given_name`
|
||||
- Optional
|
||||
|
||||
The JWT Claim Headers setting allows you to pass specific user session data down to upstream applications as HTTP request headers. Note, unlike the header `x-pomerium-jwt-assertion` these values are not signed by the authorization service.
|
||||
The JWT Claim Headers setting allows you to pass specific user session data to upstream applications as HTTP request headers. Note, unlike the header `x-pomerium-jwt-assertion` these values are not signed by the authorization service.
|
||||
|
||||
Any claim in the pomerium session JWT can be placed into a corresponding header for upstream consumption. This claim information is sourced from your Identity Provider (IdP) and Pomerium's own session metadata. The header will have the following format:
|
||||
|
||||
`X-Pomerium-Claim-{Name}` where `{Name}` is the name of the claim requested.
|
||||
`X-Pomerium-Claim-{Name}` where `{Name}` is the name of the claim requested. Underscores will be replaced with dashes; e.g. `X-Pomerium-Claim-Given-Name`.
|
||||
|
||||
This option also supports a nested object to customize the header name. For example:
|
||||
|
||||
|
|
|
@ -1101,14 +1101,14 @@ settings:
|
|||
- Environmental Variable: `JWT_CLAIMS_HEADERS`
|
||||
- Config File Key: `jwt_claims_headers`
|
||||
- Type: slice of `string`
|
||||
- Example: `email`,`groups`, `user`
|
||||
- Example: `email`, `groups`, `user`, `given_name`
|
||||
- Optional
|
||||
doc: |
|
||||
The JWT Claim Headers setting allows you to pass specific user session data down to upstream applications as HTTP request headers. Note, unlike the header `x-pomerium-jwt-assertion` these values are not signed by the authorization service.
|
||||
The JWT Claim Headers setting allows you to pass specific user session data to upstream applications as HTTP request headers. Note, unlike the header `x-pomerium-jwt-assertion` these values are not signed by the authorization service.
|
||||
|
||||
Any claim in the pomerium session JWT can be placed into a corresponding header for upstream consumption. This claim information is sourced from your Identity Provider (IdP) and Pomerium's own session metadata. The header will have the following format:
|
||||
|
||||
`X-Pomerium-Claim-{Name}` where `{Name}` is the name of the claim requested.
|
||||
`X-Pomerium-Claim-{Name}` where `{Name}` is the name of the claim requested. Underscores will be replaced with dashes; e.g. `X-Pomerium-Claim-Given-Name`.
|
||||
|
||||
This option also supports a nested object to customize the header name. For example:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue