Updates to React and OAuth 2 Tutorials

We’ve rolled out a major update to two courses in our Decoupled Headless Drupal guide: Get Started with React and Drupal Together and API Authentication with JSON:API in Drupal. These updates (and a new tutorial!) bring our tutorials in line with current security best practices and modern React development tooling. Huge thanks to lead trainer, Joe Shindelar, for the heavy lift on this one.

New tutorial: Use Vite to Start a Decoupled React Application

We’ve published a new tutorial, Use Vite to Start a Decoupled React Application. Vite lets you scaffold a React application with modern tooling, instant startup, and hot module replacement. It’s a great fit for decoupled apps that talk to Drupal’s JSON:API. After creating the scaffold, you’ll port code from earlier tutorials into the new structure.

This tutorial replaces the now-archived Use create-react-app to Start a Decoupled React Application. The archived version is still available for reference, but we recommend Vite going forward.

Updates to OAuth 2 tutorials

The password grant flow has been deprecated and removed from the 6.x release of the Drupal Simple OAuth module. All our OAuth tutorials now use the authorization code + PKCE flow, the current security best practice.

Highlights of this update:

  • Updated OAuth flow from password grant to authorization code + PKCE
  • Added helper functions with refresh token support
  • Updated code examples and screenshots
  • Improved explanations of OAuth concepts
  • Added React Router integration for OAuth callback handling
  • Removed deprecated CSRF token requirements

Tutorials updated

We’d love your feedback as we continue keeping our tutorials up to date.

Similar Posts

  • Good SEO Plus Lazy Marketing Won’t Cut It Anymore

    SEO is a playground for creative, scrappy problem-solvers. But today, it’s often reduced to a formula: plug keywords into an AI tool. Run a cookie-cutter checklist to create content. Build links. Hope traffic rolls in.  That used to work. But with AI-powered search on the rise, the era of SEOs as technicians is fading, and the…

  • Anthropic Launches Claude Code Security for AI-Powered Vulnerability Scanning

    Ravie LakshmananFeb 21, 2026Artificial Intelligence / DevSecOps Artificial intelligence (AI) company Anthropic has begun to roll out a new security feature for Claude Code that can scan a user’s software codebase for vulnerabilities and suggest patches. The capability, called Claude Code Security, is currently available in a limited research preview to Enterprise and Team customers….

  • 8 Best Block Suites You Can Add to WordPress

    The WordPress Block Editor provides designers with great flexibility. You can build page layouts in minutes rather than hours. And the included blocks offer a range of basic functionality. That only scratches the surface, however. Custom blocks let you integrate with third-party services, add dynamic content, or create complex layouts. The right blocks help you…

  • More Videos Added to Module Developer Guide Tutorials

    This week, we’ve added 7 new videos to existing tutorials in our Module Developer Guide. The Module Developer Guide was created for developers familiar with PHP but new to Drupal module development. Updated tutorials — now with video! Here’s a list of tutorials that now have videos embedded. Select the + icon to add the…

  • New and Updated Tutorials for Drupal 11

    TL;DR; We’ve added a new tutorial, Upgrade to Drupal 11. And, we’ve updated all tutorials and code in our Drupal Module Developer Guide for compatibility with Drupal 11. Upgrade to Drupal 11 is new free tutorial in the course, Upgrade Drupal, and part of our Keep Drupal Up-To-Date guide. If your site is on Drupal…