If configured properly, the e-mail event subscriber plugins for Loginapp and Adminapp will send e-mails in reaction to events. For configurable e-mail content, event variables are available in each event.
The event variables can be used to add event-related information to the generated subscriber's e-mail by using them in the translation keys.
Note that not all keys are necessarily present on each event since they depend on the individual event type and the source of the event.
E-Mail Event Variables
The following tables show which variables are available.
Variables for event identification data | |
Information | Variable |
ID | event.id |
Timestamp | event.createdAt |
Variables keys for event source data | ||
Source | Information | Variable |
Adminapp | Administrator's user ID | event.source.adminId |
Authentication Flow | Configuration Context | event.source.configurationContext |
Application ID | event.source.applicationId | |
Flow ID | event.source.flowId | |
Non-Authentication Flow (e.g., Protected Self-Service Flow) | Configuration Context | event.source.configurationContext |
Flow ID | event.source.flowId | |
Authentication Flow Step | Configuration Context | event.source.configurationContext |
Application ID | event.source.applicationId | |
Flow ID | event.source.flowId | |
Step ID | event.source.stepId | |
Non-Authentication Flow Step | Configuration Context | event.source.configurationContext |
Flow ID | event.source.flowId | |
Step ID | event.source.stepId |
Variables for event metadata | |
Metadata Item | Variable |
User Agent | event.metadata.requestIp |
Request IP | event.metadata.userAgent |
Event | Variables for event data | |
Information | Variable | |
USER_LOCKED | User ID | event.data.userId |
Lock reason | event.data.lockReason | |
AUTHENTICATION_FLOW_SUCCESSFULLY_COMPLETED | User ID | event.data.userId |
Authentication Methods | event.data.authenticationMethods | |
PASSWORD_CHANGED | User ID | event.data.userId |
AIRLOCK_2FA_DEVICE_ACTIVATED | User ID | event.data.userId |
Account ID | event.data.airlock2FAAccountId | |
Device ID | event.data.airlock2FADeviceId | |
AIRLOCK_2FA_DEVICE_DELETED | User ID | event.data.userId |
Account ID | event.data.airlock2FAAccountId | |
Device ID | event.data.airlock2FADeviceId | |
CRONTO_DEVICE_ACTIVATED | User ID | event.data.userId |
Device ID | event.data.crontoDeviceId | |
CRONTO_DEVICE_DELETED | User ID | event.data.userId |
Device ID | event.data.crontoDeviceId | |
FIDO_CREDENTIAL_REGISTERED | User ID | event.data.userId |
Relying Party ID | event.data.fidoRelyingPartyId | |
Credential ID | event.data.fidoPublicKeyCredentialId | |
FIDO_CREDENTIAL_DELETED | User ID | event.data.userId |
Internal Credential ID | event.data.fidoCredentialId | |
MTAN_TOKEN_REGISTERED | User ID | event.data.userId |
Number ID | event.data.mtanNumberId | |
MTAN_TOKEN_DELETED | User ID | event.data.userId |
Number ID | event.data.mtanNumberId |