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

  • FBI Warns of UNC6040 and UNC6395 Targeting Salesforce Platforms in Data Theft Attacks

    The U.S. Federal Bureau of Investigation (FBI) has issued a flash alert to release indicators of compromise (IoCs) associated with two cybercriminal groups tracked as UNC6040 and UNC6395 for a string of data theft and extortion attacks. “Both groups have recently been observed targeting organizations’ Salesforce platforms via different initial access mechanisms,” the FBI said….

  • 11 Affiliate Marketers Share Proven Tips for 2024

    I asked 11 affiliate marketers for their top affiliate marketing tips in 2024. Here are the tips they shared and how to do them. Ahrefs SEO Toolbar and recommends an out-of-stock product: Since the site owner earns $10-$15 per sale, recovering just one commission would make using the plugin worthwhile. Keywords Explorer, go to the Matching terms…

  • 14 GEO Conferences to Attend in 2026

    Whether you call it GEO, AEO, LLMO, or SEO for AI search, it is a field that barely existed two years ago. Now, it commands its own conference circuit, operating alongside dozens of dozens of established SEO and marketing conferences that have added substantial AI search tracks. Here’s a roundup of all the GEO and GEO-adjacent…