Examples

Consider the event MTAN_TOKEN_REGISTERED.

  • This event can originate from 3 different sources:
  • Adminapp – when an administrator registers for a user a mobile phone number.
  • Authentication Flow Step – when the step Apply mTAN Registration Change is configured inside an Authentication Flow to for example migrate the user's authentication method.
  • Non-Authentication Flow Step – when the step Apply mTAN Registration Change is for example configured inside a protected self-service flow.

For each source we list the available variables with an example value in the table below:

Source
Available variables with values
Adminapp

event.id=b0207ba5-baab-4adf-9c57-6cd29f715dff

event.createdAt=Thu May 20 12:15:30 CEST 2021

event.source.adminId=admin

event.data.userId=jdoe

event.data.mtanNumberId=1

event.metadata.userAgent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36

event.metadata.requestIp=192.168.0.1

Authentication Flow Step

event.id=b0207ba5-baab-4adf-9c57-6cd29f715dff

event.createdAt=Thu May 20 12:15:30 CEST 2021

event.source.configurationContext=[DEFAULT]

event.source.applicationId=demo

event.source.flowId=default

event.source.stepId=persist-mtan

event.data.userId=jdoe

event.data.mtanNumberId=1

event.metadata.userAgent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36

event.metadata.requestIp=192.168.0.1

Non-Authentication Flow Step

event.id=b0207ba5-baab-4adf-9c57-6cd29f715dff

event.createdAt=Thu May 20 12:15:30 CEST 2021

event.source.configurationContext=[DEFAULT]

event.source.flowId=mtan-registration

event.source.stepId=persist-mtan

event.data.userId=jdoe

event.data.mtanNumberId=1

event.metadata.userAgent=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36

event.metadata.requestIp=192.168.0.1