- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 10-31-2016 09:30 AM
This video explains the difference between REST API requests using basic authentication and OAuth 2.0. It also shows how to set up OAuth on a ServiceNow instance, and how to request tokens and use them in REST API requests to that instance through a client application and through a terminal, using curl.
The video applies to ServiceNow releases starting with Fuji. The role required to set up OAuth on a ServiceNow instance is security_admin.
For best video quality, increase your player resolution to 1080p.
This video covers:
- 0:24 About OAuth
- 1:29 Comparison of basic authentication and OAuth requests
- 3:49 Setting Up OAuth on a ServiceNow instance
- 6:54 Requesting tokens
- 9:09 Using tokens to make REST API requests
- 10:27 Requesting a new access token
- 12:09 Issuing requests from a terminal using curl
For more information on using OAuth to make REST API calls to a ServiceNow instance, see:
- ServiceNow product documentation: Set up OAuth
- ServiceNow product documentation: Use a third-party OAuth provider
- ServiceNow product documentation: OAuth tokens
- ServiceNow product documentation: OAuth API request parameters
Your feedback helps us better serve you! Did you find this video helpful? Leave us a comment to tell us why or why not.
- 37,541 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
could you please give a way for Outbound also. Like connecting to an external company's REST api.