Test OAuth 2.0 Authorization Code Flow in Postman
Preconditions (3)
Step 1: Open Postman and create a new request
Step 2: Go to the Authorization tab
Step 3: Select OAuth 2.0 as the type
Step 4: Click on Get New Access Token
Step 5: Fill in the fields: Token Name, Auth URL, Access Token URL, Client ID, Client Secret, Scope, Redirect URL
Step 6: Click Request Token
Step 7: Complete the authorization in the browser popup
Step 8: After receiving the token, click Use Token
Step 9: Send the request to the protected resource endpoint
✅ Expected Result: The request is sent with a valid OAuth 2.0 access token in the Authorization header, and the server responds with a successful status code (e.g., 200 OK) and expected data.