Raju Koyagura
Tera Guru

1. Create LinkedIn App on https://www.linkedin.com/developer/apps

Once you save your configuration, your application will be assigned a unique "Client ID" (otherwise known as Consumer Key or API key) and "Client Secret" value.  Make note of these values — you will need to integrate them into the configuration files or the actual code of your application, for example:

find_real_file.png

2. Create OAuth Application Registry in ServiceNow Instance

Navigation: System OAuth -> Application Registry -> New

find_real_file.png

Note: It required the Client ID, Client Secret (from #1) and Token URL 

3. Make sure verify OAuth Entity profile got created or not, upon successful creation of OAuth Profile.

find_real_file.png

4. Create REST Message

Navigation: System Web Services -> Outbound -> Rest Message -> New

Note: Provide all the required fields and make sure select the Authentication type as OAuth 2.0 then select the above created OAuth profile. To get the endpoint refer LinkedIn API

find_real_file.png

5. Get the OAuth Token: Click on the related link of REST Message

find_real_file.png

6. Test the HTTP Method: Open the method you want to test and see the result from the related list of above REST message.

find_real_file.png

7. Result: If everything setup properly when clicked on “Test” (from #6) will redirect to a result page as below

find_real_file.png

Hope this helps to understand the basic LinkedIn integration with ServiceNow. Please add your comments, if you have any questions.

 

Comments
Raju Koyagura
Tera Guru
Daileena2
Kilo Explorer

Can you give detail steps as what to do with "Code" and "State" returned while redirection after you click on "Get oAuth token", and further how do you get Access Token and use it.

  

Daileena2
Kilo Explorer

I am getting below error while testing the GET in REST Message, I am using LinkedIn V2

{"serviceErrorCode":100,"message":"Not enough permissions to access: GET /V2/me","status":403}

Version history
Last update:
‎06-15-2018 05:18 PM
Updated by: