The event object for the credentials-exchange Actions trigger provides contextual information about the trigger execution.
event.accessToken
Information about the access token to be issued. Hide accessToken properties
event.client
Information about the Client used during this token exchange. The client id of the application the user is logging in to.
An object for holding other application properties.
The name of the application (as defined in the Dashboard).
event.custom_domain
Details about the custom domain associated with the current transaction. Hide custom_domain properties
Custom domain metadata as key-value pairs.
event.organization
Details about the Organization associated with the current transaction. Hide organization properties
The Organization identifier.
The friendly name of the Organization.
Metadata associated with the Organization.
The name of the Organization.
event.request
Details about the request that initiated the transaction. The body of the POST request. This data will only be available during refresh token, Client Credential Exchange flows and PreUserRegistration Action.
The hostname that is being used for the authentication flow.
The originating IP address of the request.
The language requested by the browser.
The HTTP method used for the request
The value of the User-Agent header received when initiating the transaction.
event.resource_server
Information about the Resource Server that is issuing the access token. Hide resource_server properties
The identifier of the resource server. For example: https://your-api.example.com.
event.tenant
Information about the Tenant used during this token exchange.
event.transaction
Information about the Credentials Exchange transaction. Hide transaction properties
Correlation ID can be provided in the initial authentication request when the application redirects to Universal Login. You can use value to correlate logs and requests from your Action code with the user flow.
The scopes specified (if any) when requesting the access token.
event.secrets
Secret values securely associated with this Action.