If you’re creating applications that access Drupal’s data and need to act like a logged-in user, you’ll want to use OAuth for authentication. This process of setting up OAuth and understanding the flow of making authenticated HTTP requests can be a bit daunting. We’ve added videos to 3 tutorials that will help you understand this process:
After our recent update to the written version of these tutorials, which aligned them with the latest version of the Simple OAuth module, and using the OAuth 2 authorization code flow using PKCE, the next step was recording fresh videos, which have now been added.
In these tutorials, lead trainer Joe Shindelar guides you step-by-step through setting up Drupal’s contributed Simple OAuth module and using Postman to obtain tokens for authenticated requests. By the end of these tutorials, you’ll be able to generate, and use, an OAuth 2 token to authenticate a request for a given Drupal user.
Explore the entire course, API Authentication with JSON:API in Drupal to learn how to make authenticated requests and use JSON:API to perform CRUD operations on entities in Drupal.
This course is part of our guide, Decoupled Headless Drupal, which lays a foundation in web services, using JSON:API, authenticating API calls, and getting started with React and Drupal together. Check out the entire guide if you’re interested in learning how to build decoupled Drupal applications.
Discover more from WIREDGORILLA
Subscribe to get the latest posts sent to your email.