Acquire token using Postman - Authorization code¶
The Authorization Code grant type is used to exchange an authorization code for an access token.
Get the access token¶
The app can obtain an access token that provides temporary, secure access to it. Below are steps involved to Request an Access_token
Click on Authorization tab¶
- Select Type OAuth 2.0
Click on Request Token¶
It will redirect to sparkflows login URL Page.
Fill the username and password and click on signIn¶
It will then display the OAuth Approval page.
OAuth is an authentication protocol that allows you to approve one application interacting with another on your behalf without giving away your password. Below is the Screenshot for updating the Oauth approval.
Click on Use token¶
A security token (sometimes called an authentication token) is a small hardware device that the owner carries to authorize access to a network service.
Using tokens for accessing REST API¶
Using above token we can access the REST API.