Some PDIs are currently unavailable, and PDI actions are paused. View the latest updates here. Read More

OAuth setup for client credentials

harshalthak
Giga Contributor

I have tried by following this steps from link . I am still not able to authenticate with API. 

For OAuth endpoint:  {{snow_instance}}/oauth_token.do
response:

{
    "error_description": "access_denied",
    "error": "server_error"
}

harshalthak_2-1783889064610.png

 


Selected OAuth - Client Credentials grant

harshalthak_1-1783889048912.png

 


 

I was creating field which is glide.oauth.inbound.client.credential.grant_type.enabled = true in sys properties. Do I need to set application Global. I was trying but field is also not editable.

 

harshalthak_0-1783889040529.png


I have attached reference screenshots.

Can anyone please help, what I am doing wrong ?

2 ACCEPTED SOLUTIONS

Kieran Anson
Kilo Patron

Hi,

Yes 'glide.oauth.inbound.client.credential.grant_type.enabled' will need to be set in the global scope, not within a scoped application

View solution in original post

You need to use your scope picker to change scopes

KieranAnson_0-1783947014679.png

 

View solution in original post

3 REPLIES 3

Kieran Anson
Kilo Patron

Hi,

Yes 'glide.oauth.inbound.client.credential.grant_type.enabled' will need to be set in the global scope, not within a scoped application

harshalthak
Giga Contributor

Thanks, Can you share how to set application to Global, when we create field  'glide.oauth.inbound.client.credential.grant_type.enabled' in sys_properties.list ?
The field is not editable. Currently, application is set to some application. Unable to change it to not editable.

You need to use your scope picker to change scopes

KieranAnson_0-1783947014679.png