1. API Gateway Mock Token
Backend EngineerBackground
Testing protected microservice routes locally without running a full identity provider service.
Problem
Needs a valid HS256 signed bearer token containing user identity and tenant metadata for endpoint authorization tests.
How to use
Enter the shared secret, define the subject and issuer, set the expiration to 3600 seconds, and add tenant information in the custom claims JSON field.
Secret: super-secret-key-12345
Algorithm: HS256
Issuer: api.example.com
Subject: usr_987654
Expires In: 3600
Custom Claims: {"tenantId": "org_abc123", "role": "developer"}
Include iat: trueOutcome
Generates a compact HS256 JWT string containing tenantId and role claims ready to insert into the Authorization header.