Authorization Header

Authorization Header

Authorization Header

Allowing unauthenticated HTTP function invocation on Google Cloud protector function.

The Protect function will validate the JWT in the Authorization header.

Authenticating for invocation on Google Cloud protector function. All requests to the protector function will need to send the Google JWT in the Authorization header.

When PTY_GCP_JWT_HEADER is not set or it is false the Protect function will validate the JWT in the Authorization header.

When PTY_GCP_JWT_HEADER = true the Protect function will validate the JWT in the X-PTY-Authorization header.


Last modified : March 31, 2026