Configuration of SMS event subscribers

If configured properly, the SMS event subscriber plugins for Loginapp and Adminapp sends SMS messages in reaction to events. SMS events are sent to all mobile phone numbers of the user.

For configurable SMS content, event variables are available in each event.

The event variables can be used to add event-related information to the generated SMS 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.

SMS event variables

The following tables show which variables are available.

Variables for event identification data

Information

Variable

ID

event.id

Timestamp

event.createdAt

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