- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 06-15-2018 05:18 PM
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:
2. Create OAuth Application Registry in ServiceNow Instance
Navigation: System OAuth -> Application Registry -> New
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.
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
5. Get the OAuth Token: Click on the related link of REST Message
6. Test the HTTP Method: Open the method you want to test and see the result from the related list of above REST message.
7. Result: If everything setup properly when clicked on “Test” (from #6) will redirect to a result page as below
Hope this helps to understand the basic LinkedIn integration with ServiceNow. Please add your comments, if you have any questions.
- 2,886 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
I also posted a new article on Sign in with LinkedIn and Share with LinkedIn using Service Portal Pages.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
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.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
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}