mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-30 15:00:51 +02:00
only support loading idp tokens via bearer tokens (#5546)
only support loading idp tokens via bearer tokens (#5545) Co-authored-by: Caleb Doxsey <cdoxsey@pomerium.com>
This commit is contained in:
parent
618ab8fe3f
commit
c0848eecfe
5 changed files with 12 additions and 73 deletions
|
@ -21,9 +21,7 @@ const (
|
|||
// HeaderPomeriumAuthorization is the header key for a pomerium authorization JWT. It
|
||||
// can be used in place of the standard authorization header if that header is being
|
||||
// used by upstream applications.
|
||||
HeaderPomeriumAuthorization = "x-pomerium-authorization"
|
||||
HeaderPomeriumIDPAccessToken = "x-pomerium-idp-access-token" //nolint: gosec
|
||||
HeaderPomeriumIDPIdentityToken = "x-pomerium-idp-identity-token" //nolint: gosec
|
||||
HeaderPomeriumAuthorization = "x-pomerium-authorization"
|
||||
// HeaderPomeriumResponse is set when pomerium itself creates a response,
|
||||
// as opposed to the upstream application and can be used to distinguish
|
||||
// between an application error, and a pomerium related error when debugging.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue