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

  • 10+ Best Free Personal Portfolio WordPress Themes in 2026

    Portfolio websites are a key part of any creative professional’s branding. They’re a place to showcase your work and share your expertise with prospective clients. On a personal level, they’re also a nice way to look back on your past achievements. WordPress is the perfect tool for creating an online portfolio. The content management system…

  • 8 Best Free Security WordPress Plugins — Speckyboy

    Keeping your website secure is a 24/7 job. The right tools help keep watch – even when you can’t. They could be the difference between a hacked site and business as usual. WordPress security plugins are one part of that equation. Along with quality hosting and users practicing secure habits, a plugin can thwart common…

  • 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…

  • 2 New Tutorials Added to Single Directory Components Course

    As promised, we’ve added 2 new tutorials to our course, Single Directory Components in Drupal: Props and slots are both mechanisms for passing data and content to UI components. In Understanding Props and Slots in Drupal Single Directory Components, you’ll learn the difference between props and slots in Drupal SDCs, and how to choose the…