Skip to main content
The event object for the post-login Actions trigger provides contextual information about the trigger execution.

event.authentication

event.authentication
dictionary
optional
Details about authentication signals obtained during the login flow.

event.authorization

event.authorization
object
optional
An object containing information describing the authorization granted to the user who is logging in.

event.client

event.client
dictionary
Information about the Client with which this login transaction was initiated.

event.connection

event.connection
dictionary
Details about the Connection that was used to authenticate the user.

event.custom_domain

event.custom_domain
dictionary
optional
Details about the custom domain associated with the current transaction.

event.organization

event.organization
dictionary
optional
Details about the Organization associated with the current transaction.

event.prompt

event.prompt
dictionary
optional
Collected data from rendered custom prompts.

event.refresh_token

event.refresh_token
object
optional
[Enterprise Customers] The current refresh token.

event.request

event.request
dictionary
Details about the request that initiated the transaction.

event.resource_server

event.resource_server
object
optional
Details about the resource server to which the access is being requested.

event.security_context

event.security_context
object
optional
An object containing fingerprint signatures. This will be available only if the client is using cloudflare. The JA3/JA4 fingerprint can be null or empty in some cases. The most common case is for HTTP requests because JA3 and JA4 are calculated in TLS. It can also be empty due to the Worker sending requests within the same zone or to a zone that is not proxied (or a third party).

event.session

event.session
dictionary
optional
The current login session.

event.session_transfer_token

event.session_transfer_token
dictionary
optional
[Private Early Access] Details of the current session transfer token being used to establish Single Sign-On (SSO) from a native application to a web application.

event.stats

event.stats
object
Login statistics for the current user.

event.tenant

event.tenant
object
Details about the Tenant associated with the current transaction.

event.transaction

event.transaction
dictionary
optional
Details about the current transaction.

event.user

event.user
dictionary
An object describing the user on whose behalf the current transaction was initiated.

event.secrets

event.secrets
secrets
Secret values securely associated with this Action.