JWT Verification
This guide provides several methods to verify and validate the Pomerium JWT forwarded in signed the X-Pomerium-Jwt-Assertion
header:
- Verification in a Go application
- Verification in a single-page application
- Manual verification
JWT validation requirements
Before trusting any user identity information in the JWT, your application should verify:
- The JWT has a valid signature from a trusted source.
- The JWT has not expired.
- The JWT audience and issuer match your application's domain.
See JWT validation for specific instructions on validating each of these requirements.