Received client_credentials grant_type request however integration user is not configured for OAuth

Dan87
Tera Contributor

Hi,

I am trying to create an app in OAuth Application Registry as "Create an OAuth API endpoint for external clients "

and want to use grant_type as a client_credentials for generating access_token.

Is there any way I can do this?

I don't see any option for selecting Default Grant Type.

8 REPLIES 8

pedrams
Tera Expert

Same on Xanadu and don't see the option, is this a bug? 

GagandeepSingh2
ServiceNow Employee
ServiceNow Employee

The field is not available on the form OOB.
As mentioned in the documentation, you'll need to Add the OAuth Application User field to the OAuth Entity form.

Screenshot 2025-01-09 at 3.04.06 PM.png

Screenshot 2025-01-09 at 3.05.56 PM.png

Bring this field to the right and save.

 

 

helpful thank you, could you please confirm if the secret (not the token) has any expiration? or can we use Client ID and Secret for a system to system integration without worrying about any expiration/reauthentication. Thank you

Yes, client secret don't expire.