The event object for the custom-token-exchange Actions trigger provides contextual information about the trigger execution.
event.client
Information about the Client with which this transaction was initiated.
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.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
Details about the resource server to which the access is being requested.Hide resource_server properties
The identifier of the resource server. For example: https://your-api.example.com.
event.tenant
Details about the Tenant associated with the current transaction.
event.transaction
Details about the current custom token exchange transaction.Hide transaction properties
The scopes requested (if any) provided in the token exchange request.
The type of token to be generated by Auth0. For example: urn:ietf:params:oauth:token-type:access_token.
The subject token provided in the token exchange request.
The subject_token_type provided in the token exchange request.
event.secrets
Secret values securely associated with this Action.