You can change your application’s grant types using the or the .

Use the Dashboard

  1. Go to Dashboard > Applications > Applications and select the name of the application to view.
    Dashboard Applications List
  2. Scroll to the bottom of the page, and select Show Advanced Settings.
  3. Select Grant Types, and enable or disable the appropriate grants for the application. When finished, select Save Changes. The device code grant type is only available for native apps.
    Dashboard Applications Application Settings Tab Advanced Settings Grant Types tab

Use the Management API

Make a PATCH call to the /Clients/patch_clients_by_id endpoint. Be sure to replace {yourClientId}, {yourManagementApiAccessToken}, and {grantType} placeholder values with your , Management API , and desired grant type, respectively.
curl --request PATCH \
--url 'https://{yourDomain}/api/v2/clients/%7ByourClientId%7D' \
--header 'authorization: Bearer {yourMgmtApiAccessToken}' \
--header 'cache-control: no-cache' \
--header 'content-type: application/json' \
--data '{ "grant_types": "{grantTypes}" }'
ValueDescription
YOUR_CLIENT_IDΤhe ID of the application to be updated.
MGMT_API_ACCESS_TOKENAccess Tokens for the Management API with the scope update:clients.
GRANT_TYPESThe grant types you would like to enable for the specified application.

Troubleshoot

Attempting to use a flow with an application lacking the appropriate grant_types for that flow (or with the field empty) will result in the following error: Grant type grant_type not allowed for the client.

Learn more