OAuth - client id/secret

mrjohn
Giga Contributor

Hi there,

I have been asked to allow a third party company to create Incidents on our ServiceNow instance via an automated site, so I have created for them a user account and password with ITIL role, however they are asking for our "client ID" and "client secret" to do so.

Can anyone elaborate on what these are or how I discover them in our test instance (and subsequently live once I prove it) please?

I've researched API and OAuth functions, but don't really understand which this is.

1 ACCEPTED SOLUTION

anjalichoudhary
Kilo Guru

Hi John,



You will get Client Id and Client Secret in System OAuth > Application Registry.



find_real_file.png



below link will help you to set up the configuration for OAuth:



http://wiki.servicenow.com/index.php?title=OAuth_Setup#gsc.tab=0



Please mark Helpful/Correct as per impact of the response!!



Thanks,


Anjali


View solution in original post

7 REPLIES 7

anjalichoudhary
Kilo Guru

Hi John,



You will get Client Id and Client Secret in System OAuth > Application Registry.



find_real_file.png



below link will help you to set up the configuration for OAuth:



http://wiki.servicenow.com/index.php?title=OAuth_Setup#gsc.tab=0



Please mark Helpful/Correct as per impact of the response!!



Thanks,


Anjali


Thankyou, found it!


We have two entries in there, Mobile API and ServiceNow Mobile App - should I be creating something new for an incoming Incident email/webhook?


ServiceNow supports OAth either for OAuth provider scenario in which your instance provides an endpoint for third party clients to pull data from the instance OR OAuth consumer scenario in which your instance pulls data from a third-party provider. You have to make the setup as per your requirement.



These are few links that may help you to achieve your requirement:



Generating OAuth Tokens - ServiceNow Wiki



http://wiki.servicenow.com/index.php?title=OAuth_Applications#gsc.tab=0



Hope it helps!!



Please mark Helpful/Correct as per impact of the response!!



Thanks,


Anjali


Thank you.