Event examples

Below you can find a few examples for the sequence of events that are generated when a certain process (use case) is executed.

These are examples and may differ per customer specific configuration of OneWelcome IDaaS.

Examples of Event Sequences

Social Registration

When a registration process doesn't include any optional data, the sequence of events looks like:

  • LIFECYCLE: Create Identity

  • CREDENTIAL MANAGEMENT: social account linked

  • CREDENTIAL MANAGEMENT: primary email is set

  • CONSENT: Post document consent (ToS)

  • CONSENT: Post document consent (PP)

Email Based Registration

When a consumer registers by using his private email address, the sequence of events looks like:

  • LIFECYCLE: Create Identity

  • COMMUNICATION: Email sent

  • PROFILE: attribute verified

  • CREDENTIAL MANAGEMENT: primary email is set

  • CREDENTIAL MANAGEMENT: Set password

  • LIFECYCLE: identity activated

  • CONSENT: Post document consent (ToS)

  • CONSENT: Post document consent (PP)

Password Reset Process

  • CREDENTIAL MANAGEMENT: password reset requested

  • COMMUNICATION: password reset email sent

  • AUTHENTICATION: user clicks on link

  • CREDENTIAL MANAGEMENT: password reset

Examples of Events

Login with Username and Password (AUTHENTICATION 101)

{ "device" : { "browserDetailVersion" : "69.0.3497", "name" : "Other", "os" : "Mac OS X", "userAgent" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36", "browser" : "Chrome", "browserVersion" : "69.0" }, "identifyingField" : "USERID", "identifyingValue" : "sdadmin", "timestamp" : "2018-09-25T18:57:09.352Z", "event" : { "category" : "AUTHENTICATION", "eventType" : "LoginSuccessEvent", "type" : "Login", "typeId" : "101" }, "userId" : "43d4a519fd964cad82645083c83f9a98", "segment" : "sd", "location" : { "ip" : "172.18.0.1" }, "authenticationFlow" : "USERNAME_AND_PASSWORD" }

Logoff (AUTHENTICATION 103)

{ "device" : { "browserDetailVersion" : "69.0.3497", "name" : "Other", "os" : "Mac OS X", "userAgent" : "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36", "browser" : "Chrome", "browserVersion" : "69.0" }, "timestamp" : "2018-09-26T05:47:40.844Z", "event" : { "category" : "AUTHENTICATION", "eventType" : "LogOffEvent", "type" : "Logoff", "typeId" : "103" }, "userId" : "98127d312d484a86a18e37b0ca404bb4", "segment" : "ongo", "location" : { "ip" : "172.18.0.1", } }

User Data Viewed (PRIVACY 901)

{ "userId": "3b3bf20a2e464c44824b43ab56a47f5c", "timestamp": "2018-02-08T15:48:29.516Z", "segment": "ongo/bikes", "event": { "category": "PRIVACY", "typeId": "901", "type": "User data viewed", "eventType": "UserDateViewedEvent" }, "clientName": "sd", "employeeResourceId": "5a377494075648679e37a02a86992e84", "employeeFormattedName": "test.onewelcome", "userDataBeforeEvent": { "emails": [ { "type": "other", "value": "wcarnava1@yopmail.com", "primary": true } ], "urn:scim:schemas:extension:iwelcome:1+0": { "segment": "ongo/bikes", "state": "ACTIVE", "birthDate": "26/01/1981" }, "meta": { "created": "2017-11-13T09:56:30.402Z", "lastModified": "2017-11-16T11:47:07.725Z", "version": "W/1041344808", "location": "https://test.onewelcome.nl/api/scim1.1/v1/Users/3b3bf20a2e464c44824b43ab56a47f5c" }, "schemas": [ "urn:scim:schemas:core:1.0", "urn:scim:schemas:extension:iwelcome:1.0", "urn:scim:schemas:extension:iwelcomeattributemetadata:1.0" ] }, "name": { "familyName": "Carnaval", "givenName": "W", "formatted": "W Carnaval" }, "active": true, "id": "3b3bf20a2e464c44824b43ab56a47f5c", "userName": "wcarnava1" } }

Password Reset (CREDENTIAL_MANAGEMENT-404)

Email Address Verification (COMMUNICATION-501)

{ "userId": "b989bbf85eb14785a86e81fc73eb5104", "timestamp": "2018-02-09T08:54:59.465Z", "segment": "bikes", "event": { "category": "COMMUNICATION", "typeId": "501", "type": "Email address verification.", "eventType": "ActivationEmailSentEvent" } }

Account Created (LIFECYCLE-301)

{ "userId": "b989bbf85eb14785a86e81fc73eb5104", "timestamp": "2018-02-09T08:54:59.275Z", "segment": "ongo/bikes", "event": { "category": "LIFECYCLE", "typeId": "301", "type": "create account", "eventType": "CreateAccountEvent" }, "device": { "name": "Spider", "os": "Other", "browser": "Java", "browserVersion": "8.0", "browserDetailVersion": "8.0.151", "userAgent": "Java/1.8.0_151" }, "location": { "ip": "192.168.1.21" }, "clientName": "ums", "dateTime": "2018-02-09T08:54:59.275Z", "host": "https://test.onewelcome.nl/workflowapi/", "userDataAfterEvent": { "urn:scim:schemas:core:1+0:emails": [ { "type": "other", "value": "test.user9001@yopmail.com", "primary": true } ], "urn:scim:schemas:extension:iwelcome:1+0:state": "INACTIVE", "urn:scim:schemas:core:1+0:schemas": [ "urn:scim:schemas:core:1.0", "urn:scim:schemas:extension:iwelcome:1.0", "urn:scim:schemas:extension:iwelcomeattributemetadata:1.0", "urn:scim:schemas:extension:iwelcomeattributevaluemetadata:1.0" ], "urn:scim:schemas:core:1+0:id": "b989bbf85eb14785a86e81fc73eb5104", "urn:scim:schemas:core:1+0:userName": "TEST009001", "urn:scim:schemas:extension:iwelcome:1+0:segment": "ongo/bikes", "urn:scim:schemas:core:1+0:name": { "familyName": "Testnovember", "givenName": "ABC", "middleName": null, "formatted": "ABC Testnovember" }, "urn:scim:schemas:extension:iwelcome:1+0:birthDate": "02/02/1980" } }

Block Event (Unblock via ServiceDesk)

{ "dateTime" : "2018-09-27T15:38:30.197Z", "block" : { "date" : "2018-09-27T15:38:18.281Z", "reason" : "System generated reason", "userid" : "b15027b304514cc5ba89f15af745afa4" }, "uuid" : "ccd788af41be41ee9bc6e201b9c2c07b", "@version" : "1", "timestamp" : "2018-09-27T15:38:30.204Z", "eventType" : "UnblockUserAuditEvent", "source" : "UnblockEvent" }

Activation Email Sent (COMMUNICATION-501)

{ "userId": "b989bbf85eb14785a86e81fc73eb5104", "timestamp": "2018-02-09T08:54:59.465Z", "segment": "ongo/bikes", "event": { "category": "COMMUNICATION", "typeId": "501", "type": "Email address verification.", "eventType": "ActivationEmailSentEvent" }, "device": { "name": "Other", "os": "Other", "browser": "Other", "userAgent": "okhttp/3.8.1" }, "location": { "ip": "192.168.1.22" } }
{ "userId": "b989bbf85eb14785a86e81fc73eb5104", "timestamp": "2018-02-09T08:59:40.364Z", "segment": "ongo/bikes", "event": { "category": "CONSENT", "typeId": "801", "type": "Approval terms of service", "eventType": "ApprovalTermsOfServiceEvent" }, "device": { "name": "Other", "os": "Mac OS X", "browser": "Firefox", "browserVersion": "58.0", "browserDetailVersion": "58.0", "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:58.0) Gecko/20100101 Firefox/58.0" }, "document": { "name": "Ongo Terms of Service", "version": "3.1", "versionDate": "2017-06-01" }, "location": { "ip": "77.165.59.121" } }

User added to a group (AUTHORISATION 1001)

{ "event_type_id": "1001", "event_type_details": { "category": "AUTHORISATION", "name": "User added to a group" }, "user": { "id": "98127d312d484a86a18e37b0ca404bb4", "external_id": "ongo-customer-id-0123456789", "segment": "ongo-bikes" }, "authenticated_user": { "id": "5a377494075648679e37a02a86992e84", "segment": "employees" }, "client_application": { "client_id": "s6BhdRkqt3", "client_name": "DUMS" }, "group": { "id": "f480b020-61f5-478b-aa75-ec0c8b0dbba3", "display_name": "Office365 users" } }


  Last updated by Stein Welberg