

- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
OAuth 2.0 Authorization with Postman
With the help of OAuth 2.0, we shall first obtain an access token for an API. This token shall be used for authentication of all the future requests. The data access with OAuth 2.0 differs from one API access provider to another. However, it generally consists of sending requests back and forth between the user, API and the client.
OAuth 2.0 Flow
The client sends a request to authorize the access to the data for the user.
If the user permits access, then the application requests an access token from the service provider. This is done by sending the access permit from the user and authentication information to determine the client.
The service provider checks this information and yields an access token.
The client utilizes the access token to send requests for user data with the help of the service provider.
In Postman, we have to select the option OAuth 2.0 from the Type dropdown under the Authorization tab. We have to mention if we want to send the authentication information from the Request URL or Headers.
For requesting an access token, we have to fill in the details under the Configure New Tokens section.
Once a token has been successfully generated, it gets reflected under the request Headers.
- Related Questions & Answers
- Sum of the series 2^0 + 2^1 + 2^2 +...+ 2^n in C++
- SAP Authorization concept and Authorization Objects, Object Class
- Difference between OpenId and OAuth
- Enabling GitHub OAuth in Django
- Postman with Newman & Jenkins
- Program to find N-th term of series 0, 0, 2, 1, 4, 2, 6, 3, 8…in C++
- Find the nth term of the given series 0, 0, 2, 1, 4, 2, 6, 3, 8, 4… in C++
- n-th number with digits in {0, 1, 2, 3, 4, 5} in C++
- Design NFA with Σ = {0, 1} and accept all string of length at least 2.
- Assertions in Postman with Chai Assertion Library
- Security, Integrity and Authorization in DBMS
- What is Authorization in Information Security?
- Maximum length subsequence with difference between adjacent elements as either 0 or 1 | Set 2 in C++
- Authorization concept in SAP system and Profile
- What is AAA (Authentication, Authorization, and Accounting)?