> For the complete documentation index, see [llms.txt](https://ztrust.gitbook.io/ztrust-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ztrust.gitbook.io/ztrust-documentation/user-manual-ztrust-v4.1/4.-admin-manual/4.29-event-type.md).

# 4.29 Event Type

<table><thead><tr><th width="249">Event Type</th><th>Description</th></tr></thead><tbody><tr><td>AUTHREQID_TO_TOKEN</td><td>It's an administrative event query that retrieves an item.</td></tr><tr><td>CLIENT_DELETE</td><td>This event is activated when a client's configuration is removed from the realm.</td></tr><tr><td>CLIENT_INFO</td><td>This event takes place when a request for client information is made.</td></tr><tr><td>CLIENT_INITIATED_ACCOUNT_LINKING</td><td>It's initiated when a client starts linking an external account.</td></tr><tr><td>CLIENT_LOGIN</td><td>It is triggered when a client logs in successfully.</td></tr><tr><td>CLIENT_REGISTER</td><td>It occurs when a new client is added to the realm.</td></tr><tr><td>CLIENT_UPDATE</td><td>It happens when a client's settings are modified.</td></tr><tr><td>CODE_TO_TOKEN</td><td>It occurs when an authorization code is converted into an access token in the OAuth2 process.</td></tr><tr><td>CUSTOM_REQUIRED_ACTION</td><td>It is triggered by custom actions specified by the administrator.</td></tr><tr><td>DELETE_ACCOUNT</td><td>It occurs when a user removes their own account.</td></tr><tr><td>EXECUTE_ACTIONS</td><td>It is triggered when specific actions (like verifying an email) are performed for a user.</td></tr><tr><td>EXECUTE_ACTION_TOKEN</td><td>It happens when an action token (such as for password reset) is used.</td></tr><tr><td>FEDERATED_IDENTITY_LINK</td><td>It occurs when a federated identity is attached to a Keycloak account.</td></tr><tr><td>GRANT_CONSENT</td><td>It occurs when a user provides consent to a client.</td></tr><tr><td>IDNETITY_PROVIDER_FIRST_LOGIN</td><td>It occurs when a user logs in for the first time using an identity provider.</td></tr><tr><td>IDENTITY_PROVIDER_LINK_ACCOUNT</td><td>It happens when a user connects their account with an identity provider.</td></tr><tr><td>IDENTITY_PROVIDER_LOGIN</td><td>It is triggered when a user logs in via an identity provider.</td></tr><tr><td>IDENTITY_PROVIDER_POST_LOGIN</td><td>It occurs following a successful login with an identity provider.</td></tr><tr><td>IDENTITY_PROVIDER_RESPONSE</td><td>It occurs when a response is received from an identity provider.</td></tr><tr><td>IDNETITY_PROVIDER_RETRIEVE_TOKEN</td><td>It occurs when a token is obtained from an identity provider.</td></tr><tr><td>IMPERSONATE</td><td>It is triggered when an administrator impersonates a user.</td></tr><tr><td>INTROSPECT_TOKEN</td><td>It is triggered when a request is made to inspect a token.</td></tr><tr><td>INVALID_SIGNATURE</td><td>It occurs when a token or request has an invalid signature.</td></tr><tr><td>LOGIN</td><td>It happens when a user logs in successfully.</td></tr><tr><td>LOGOUT</td><td>It happens when a user logs out.</td></tr><tr><td>OAUTH2_DEVICE_AUTH</td><td>It is triggered during the OAuth2 device authorization process.</td></tr><tr><td>OAUTH2_DEVICE_CODE_TO_TOKEN</td><td>It happens when a device code is exchanged for a token.</td></tr><tr><td>OAUTH2_DEVICE_VERIFY_USER_CODE</td><td>It happens when a user code is confirmed in the OAuth2 device flow.</td></tr><tr><td>PERMISSION_TOKEN</td><td>It occurs when a permission token is created.</td></tr><tr><td>PUSHED_AUTHORIZATION_REQUEST</td><td>It happens when an authorization request is pushed to the server.</td></tr><tr><td>REFRESH_TOKEN</td><td>It occurs when a refresh token is used to get a new access token.</td></tr><tr><td>REGISTER</td><td>It occurs when a new user account is created.</td></tr><tr><td>REGISTER_NODE</td><td>It is triggered when a new cluster node is added.</td></tr><tr><td>REMOVE_FEDERATED_IDENTITY</td><td>It occurs when a federated identity is unlinked from a user account.</td></tr><tr><td>REMOVE_TOTP</td><td>It occurs when a user removes their TOTP configuration.</td></tr><tr><td>RESET_PASSWORD</td><td>It occurs when a user starts the password reset process.</td></tr><tr><td>RESTART_AUTHENTICATION</td><td>It is triggered when the authentication flow is restarted.</td></tr><tr><td>REVOKE_GRANT</td><td>It occurs when a user's consent to a client is revoked.</td></tr><tr><td>SEND_IDENTITY_PROVIDER_LINK</td><td>It occurs when a link is sent to connect an identity provider account.</td></tr><tr><td>SEND_RESET_PASSWORD</td><td>It occurs when a password reset email is sent.</td></tr><tr><td>SEND_VERIFY_EMAIL</td><td>It occurs when an email verification link is sent.</td></tr><tr><td>TOKEN_EXCHANGE</td><td>It occurs when tokens are exchanged via the token exchange endpoint.</td></tr><tr><td>UNREGISTER_CODE</td><td>It occurs when an OAuth2 device code is unregistered.</td></tr><tr><td>UPDATE_CONSENT</td><td>It occurs when a user's consent is modified.</td></tr><tr><td>UPDATE_EMAIL</td><td>It occurs when a user changes their email address.</td></tr><tr><td>UPDATE_PASSWORD</td><td>It occurs when a user updates their password.</td></tr><tr><td>UPDATE_PROFILE</td><td>It occurs when a user updates their profile details.</td></tr><tr><td>UPDATE_TOTP</td><td>It occurs when a user updates their TOTP settings.</td></tr><tr><td>USER_INFO_REQUEST</td><td>It occurs when a request is made to the user info endpoint.</td></tr><tr><td>VALIDATE_ACCESS_TOKEN</td><td>It occurs when an access token is validated.</td></tr><tr><td>VERIFY_EMAIL</td><td>It occurs when a user confirms their email address.</td></tr><tr><td>VERIFY_PROFILE</td><td>It occurs when a user verifies their profile information.</td></tr></tbody></table>

All the events listed above have corresponding error events as mentioned below

<table><thead><tr><th width="259">Event Type</th><th>Description</th></tr></thead><tbody><tr><td>AUTHREQID_TO_TOKEN_ERROR</td><td>It happens when there's a problem exchanging an auth_req_id for a token in the OAuth2 Device Authorization Grant flow.</td></tr><tr><td>CLIENT_DELETE_ERROR</td><td>It occurs when there's a problem deleting a client's configuration.</td></tr><tr><td>CLIENT_INFO_ERROR</td><td>It happens when an error arises while requesting client information.</td></tr><tr><td>CLIENT_INITIATED_ACCOUNT_LINKING_ERROR</td><td>It is triggered when there's an issue with linking an external account initiated by a client.</td></tr><tr><td>CLIENT_LOGIN_ERROR</td><td>It is fired when there's an error during a client's login attempt.</td></tr><tr><td>CLIENT_REGISTER_ERROR</td><td>It is triggered when an error occurs during the registration process of a new client.</td></tr><tr><td>CLIENT_UPDATE_ERROR</td><td>It occurs when there's an error updating a client's configuration.</td></tr><tr><td>CODE_TO_TOKEN_ERROR</td><td>It happens when there's a problem exchanging an authorization code for an access token.</td></tr><tr><td>CUSTOM_REQUIRED_ACTION_ERROR</td><td>It is triggered by errors in executing custom required actions set by the administrator.</td></tr><tr><td>DELETE_ACCOUNT_ERROR</td><td>It occurs when there's an error deleting a user's account.</td></tr><tr><td>EXECUTE_ACTIONS_ERROR</td><td>It occurs when there's an error executing actions for a user.</td></tr><tr><td>EXECUTE_ACTION_TOKEN_ERROR</td><td>It is triggered when there's an error executing an action token.</td></tr><tr><td>FEDERATED_IDENTITY_LINK_ERROR</td><td>It occurs when there's an error linking a federated identity to a Keycloak account.</td></tr><tr><td>GRANT_CONSENT_ERROR</td><td>It happens when there's an error while granting consent to a client.</td></tr><tr><td>IDNETITY_PROVIDER_FIRST_LOGIN_ERROR</td><td>It occurs when there's an error during a user's first login using an identity provider.</td></tr><tr><td>IDENTITY_PROVIDER_LINK_ACCOUNT_ERROR</td><td>It is triggered when there's an error linking an account with an identity provider.</td></tr><tr><td>IDENTITY_PROVIDER_LOGIN_ERROR</td><td>It occurs when there's an error during login using an identity provider.</td></tr><tr><td>IDENTITY_PROVIDER_POST_LOGIN_ERROR</td><td>It occurs when there's an error after a successful identity provider login.</td></tr><tr><td>IDENTITY_PROVIDER_RESPONSE_ERROR</td><td>It occurs when there's an error processing the response from an identity provider.</td></tr><tr><td>IDNETITY_PROVIDER_RETRIEVE_TOKEN_ERROR</td><td>It occurs when there's an error retrieving a token from an identity provider.</td></tr><tr><td>IMPERSONATE_ERROR</td><td>It is triggered when there's an error during admin impersonation of a user.</td></tr><tr><td>INTROSPECT_TOKEN_ERROR</td><td>It occurs when there's an error during a token introspection request.</td></tr><tr><td>INVALID_SIGNATURE_ERROR</td><td>It occurs when a token or request has an invalid signature.</td></tr><tr><td>LOGIN_ERROR</td><td>It occurs when there's an error during a user's login attempt.</td></tr><tr><td>LOGOUT_ERROR</td><td>It occurs when there's an error during a user's logout attempt.</td></tr><tr><td>OAUTH2_DEVICE_AUTH_ERROR</td><td>It is triggered during an error in the OAuth2 device authorization flow.</td></tr><tr><td>OAUTH2_DEVICE_CODE_TO_TOKEN_ERROR</td><td>It occurs when there's an error exchanging a device code for a token.</td></tr><tr><td>OAUTH2_DEVICE_VERIFY_USER_CODE_ERROR</td><td>It occurs when there's an error verifying a user code in the OAuth2 device flow.</td></tr><tr><td>PERMISSION_TOKEN_ERROR</td><td>It occurs when there's an error issuing a permission token.</td></tr><tr><td>PUSHED_AUTHORIZATION_REQUEST_ERROR</td><td>It occurs when there's an error in the pushed authorization request process.</td></tr><tr><td>REFRESH_TOKEN_ERROR</td><td>It occurs when there's an error using a refresh token to obtain a new access token.</td></tr><tr><td>REGISTER_ERROR</td><td>It occurs when there's an error during user registration.</td></tr><tr><td>REGISTER_NODE_ERROR</td><td>It is triggered when there's an error registering a new cluster node.</td></tr><tr><td>REMOVE_FEDERATED_IDENTITY_ERROR</td><td>It occurs when there's an error removing a federated identity from a user account.</td></tr><tr><td>REMOVE_TOTP_ERROR</td><td>It happens when there's an error removing a user's TOTP configuration.</td></tr><tr><td>RESET_PASSWORD_ERROR</td><td>It happens when there's an error during the password reset process.</td></tr><tr><td>RESTART_AUTHENTICATION_ERROR</td><td>It occurs when there's an error restarting the authentication flow.</td></tr><tr><td>REVOKE_GRANT_ERROR</td><td>It happens when there's an error revoking a user's consent grant.</td></tr><tr><td>SEND_IDENTITY_PROVIDER_LINK_ERROR</td><td>It occurs when there's an error sending a link to connect an identity provider account.</td></tr><tr><td>SEND_RESET_PASSWORD_ERROR</td><td>It happens when there's an error sending a reset password email to a user.</td></tr><tr><td>SEND_VERIFY_EMAIL_ERROR</td><td>It occurs when there's an error sending an email verification link to a user.</td></tr><tr><td>TOKEN_EXCHANGE_ERROR</td><td>It occurs when there's an error during the token exchange process.</td></tr><tr><td>UNREGISTER_CODE_ERROR</td><td>It happens when there's an error unregistering an OAuth2 device code.</td></tr><tr><td>UPDATE_CONSENT_ERROR</td><td>It occurs when there's an error updating a user's consent.</td></tr><tr><td>UPDATE_EMAIL_ERROR</td><td>It happens when there's an error updating a user's email address.</td></tr><tr><td>UPDATE_PASSWORD_ERROR</td><td>It occurs when there's an error updating a user's password.</td></tr><tr><td>UPDATE_PROFILE_ERROR</td><td>It occurs when there's an error updating a user's profile information.</td></tr><tr><td>UPDATE_TOTP_ERROR</td><td>It occurs when there's an error updating a user's TOTP configuration.</td></tr><tr><td>USER_INFO_REQUEST_ERROR</td><td>It occurs when there's an error making a request to the user info endpoint.</td></tr><tr><td>VALIDATE_ACCESS_TOKEN_ERROR</td><td>It happens when there's an error validating an access token.</td></tr><tr><td>VERIFY_EMAIL_ERROR</td><td>It happens when there's an error during the email verification process.</td></tr><tr><td>VERIFY_PROFILE_ERROR</td><td>It happens when there's an error during the profile verification process.</td></tr></tbody></table>

<br>
