huudis.oidc.consent_revoked.v1
Fires when a user's consent to an OIDC client is revoked — by the user, or by an admin of the workspace that owns the client.
Who receives it: the workspace that owns the OIDC client (clientAccountId).
When it fires
- The user revokes the app at
POST /v1/account/connected-apps/:clientId/revokeorDELETE /v1/account/connected-apps/:id. - A workspace admin cuts the end-user off at
POST /v1/ops/end-users/:id/revoke(one event per consent to the workspace's clients).
The user's sign-ins into that client end too (huudis.session.revoked.v1). Signing in again records a fresh consent (huudis.oidc.consent_granted.v1).
Payload
{
"id": "evt_01KPG…",
"type": "huudis.oidc.consent_revoked.v1",
"accountId": "acc_01KPG40…",
"occurredAt": "2026-05-12T23:30:00.000Z",
"data": {
"consentId": "ocn_01KPG…",
"userId": "usr_01KPG…",
"userEmail": "ibu.rina@cafe-sumur.id",
"clientId": "oc_meja_studio",
"clientName": "MejaStudio",
"clientAccountId": "acc_01KPG40…",
"scopes": [
"openid",
"profile",
"email"
],
"isFirstParty": true,
"consentedAt": "2026-05-12T11:02:00.000Z",
"revokedAt": "2026-05-12T23:30:00.000Z",
"revokedBy": "usr_01KPG…"
},
"metadata": {}
}
revokedBy is the user themselves or the admin who revoked it.