Learn about the credentials-exchange Action trigger’s event object, which provides contextual information about the request for a client credentials exchange.
Use this file to discover all available pages before exploring further.
The event object for the credentials-exchange Actions trigger provides contextual information about the request for a client credentials exchange.
Property
Description
event.accessToken
Information about the to be issued.
Includes the following properties:
customClaimsDictionary.
scopeArray of strings.
event.client
Information about the Client used during this token exchange.
Includes the following properties:
client_idString.
The client id of the application the user is logging in to.
metadataDictionary.
An object for holding other application properties.
nameString.
The name of the application (as defined in the Dashboard).
event.organization
Details about the Organization associated with the current transaction.
Includes the following properties:
display_nameString.
The friendly name of the Organization.
idString.
The Organization identifier.
metadataDictionary.
Metadata associated with the Organization.
nameString.
The name of the Organization.
event.request
Details about the request that initiated the transaction.
Includes the following properties:
bodyDictionary.
The body of the POST request. This data will only be available
during refresh token, Client Credential Exchange flows and
PreUserRegistration Action.
geoipObject.
Includes the following properties:
cityNameOptional string.
continentCodeOptional string.
countryCodeOptional string.
countryCode3Optional string.
countryNameOptional string.
latitudeOptional number.
longitudeOptional number.
subdivisionCodeOptional string.
subdivisionNameOptional string.
timeZoneOptional string.
hostnameOptional string.
The hostname that is being used for the authentication
flow.
ipString.
The originating IP address of the request.
languageOptional string.
The language requested by the browser.
methodString.
The HTTP method used for the request
user_agentOptional string.
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.
Includes the following properties:
identifierString.
The identifier of the resource server. For example:
https://your-api.example.com.
event.tenant
Information about the Tenant used during this token exchange.
Includes the following properties:
idString.
The name of the tenant.
event.transaction
Information about the Credentials Exchange transaction.
Includes the following properties:
requested_scopesArray of strings.
The scopes specified (if any) when requesting the access
token.