Development only. This page stands in for EnterYourHours: it signs a handoff JWT exactly the way EYH's "Support" button would.

Sign in as a test customer

How EYH will do this

  1. Sign a JWT (HS256, shared secret) with iss=eyh, aud=sts, exp ≤ iat + 120s, a fresh jti, and the user/company claims.
  2. Redirect the browser to /sso?token=….
  3. For "Report an issue": first POST /api/attachments/stage with the screenshot (header X-Api-Key), then include return_to=/tickets/new?staged={stagingId} in the token.