Post Custom Claim when Obtaining an id_token

Is it possible to post custom claim data parameters when obtaining an id token? In our authorization server settings we set a claim for foo, and the post querystring looks like:

curl --request POST   --url   --header 'accept: application/json'   --header 'authorization: Basic ourkey'   --header 'cache-control: no-cache'   --header 'content-type: application/x-www-form-urlencoded'   --data 'grant_type=client_credentials&scope=our_api&foo=bar'

Hi @shouttag_mike

If you want to generate custom claims for ID token, I recommend checking out the Token Inline Hook functionality.

In order to have it enabled for your Okta org, please send an email to and request the features CALLBACKS and API_ACCESS_MANAGEMENT_EXTENSIBILITY.