
Explore how to use Postman to interact with web APIs, build get and post requests, view JSON responses, manage endpoints, and save requests in a collection.
Explore how to create orders using post requests and how get and post differ. Learn to authenticate with a bearer token by obtaining an access token from the auth endpoint.
Learn to delete orders via Postman, write basic tests to verify status codes, and use environments and variables to manage base URL and tokens.
Explore why OAuth is needed and how the OAuth 2 flow secures access by letting users grant apps permission to data without sharing credentials, demonstrated with a Dropbox example.
Explore the OAuth 2.0 authorization code grant, illustrating how a resource owner, client, and authorization server exchange an authorization code for access in a Dropbox and Postman demo.
Register your Dropbox client and obtain the app key and secret. Set up a Postman environment, define a redirect URL, and disable the implicit grant for OAuth testing.
Use postman to run the authorization code flow by configuring the client id, client secret, and callback url, then exchange the code for an access token to access Dropbox.
Open the Postman console to inspect sent requests, review the token request with grant type, client id, and client secret, and diagnose the token endpoint error unknown field client id.
Demonstrate getting an access token with Postman using the authorization code grant, including client credentials in the body for backend security and noting implicit flow for front-end apps.
Learn how to use an access token with a bearer token to fetch data from a protected folder via a post request, and understand OAuth differentiates authorization from authentication.
Demonstrates obtaining an access token via OAuth in Postman or a browser, highlighting the callback URL, console visibility of requests, and why login and trust issues affect security.
Explore the OAuth 2.0 implicit grant flow in Postman, including token delivery via the browser, missing token URL and client secret, and the security trade-offs versus the authorization code grant.
Explore how to use auth two in Postman and see that everything is http. Open the Postman console to run the same URLs for auth and observe error avoidance.
Register your client application with the Flicker API in Postman, obtain the key and secret, and understand how OAuth 1.0 authentication works for app identification.
Learn how to obtain a request token in OAuth 1.0 with Postman, configure consumer key and secret, use signature method sha1, and handle the auth callback and auth tokens.
Redirect the user to the authorization page with the auth token from the request token, have them authorize on Flickr, then return to the callback URL with the oauth_verifier token.
Exchange the request token for an access token by submitting a request with the auth verifier and token secret. Copy Postman values, add the verifier, and retrieve the access token.
Follow step 4 to call an API endpoint with the access token and secret, set parameters (no json callback, format json), and retrieve your profile data to confirm successful authorization.
Improve OAuth flow in Postman by dynamically parsing the first response to extract auth token and secret, storing them as environment variables, and wiring them into subsequent requests with scripts.
This course provides a comprehensive introduction to API authorization testing using OAuth in Postman. Throughout the course, you will gain an in-depth understanding of the fundamental concepts of OAuth, including its different flows and uses. You will learn how OAuth is applied in various real-world situations, such as backend applications, single-page applications, and mobile apps.
The course also provides hands-on experience with using different OAuth flows and how to create requests using Postman. You will work with different real-world APIs and learn to use Postman to send requests and validate the responses.
In addition to the theoretical aspects of OAuth 1.0 and OAuth 2.0 and their practical application, the course also covers testing. You will learn how to test OAuth flows and APIs using Postman, and gain the knowledge and skills needed to test and debug your OAuth-secured APIs effectively. This course will provide you with a solid foundation for working with OAuth and APIs in a practical and efficient manner.
Here are some of the topics that we will do in this course:
Token-based authentication (JWT token)
OAuth 2.0 Authorization Code grant
OAuth 2.0 Implicit Code Grant flow
OAuth 1.0 flow with the Flickr API
Credits
This OAuth logo is licensed under the Creative Commons Attribution-Share Alike 3.0 Unported license (creativecommons . org/licenses/by-sa/3.0/deed.en). Author: Chris Messina