Skip to content
Hexel StudioDocs

Get push event keys

GET/titan/user/push-keys

The deployment's push event keys, a JWKS of Ed25519 (OKP) keys, served without a token: the customer's backend verifies push events with them. An event is a compact JWS with header exactly {alg: EdDSA, kid, typ: titan-push-event+jwt} over {iss: urn:titan:person-devices:<deployment>, aud: the app_id, sub: the person, approval_id, device_id, iat, exp (iat + 300), jti (the same on every attempt of one push)}, POSTed to the app's webhook as application/jwt. NOT_FOUND unless push delivery is on for the deployment and it has a push event key (a deployment with only direct-mode apps, needs none), or approval routing sends approval webhooks for it: the same keys sign those, a compact JWS with header exactly {alg: EdDSA, kid, typ: titan-approval-event+jwt} over {iss: urn:titan:approval-events:<deployment>, aud: the webhook URL, sub: the approver, iat, exp (iat + 300), jti (the event's event_id), event: the version 1 approval event}; the deployment is the one the host pins or Titan-Enforcement-Deployment names.

Headers

Bearer <token>. The person's user-route token: a user access token from the deployment's identity provider for an audience only the person routes accept, carrying their use claim. The Gateway verifies it; the edge does not. A session's token is refused here, and a user-route token is refused as a session's. Served only while the deployment turns the person routes on; NOT_FOUND otherwise.

Returns

200Successful response; exact status varies by operation.object

keysarray of object

Errors

  • defaultRejected request.