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

  • Finding New Opportunities for Your WordPress Agency

    The business model for running a WordPress agency has changed in recent years. It used to be that we had an overflow of new projects coming our way. Business was plentiful, and there was little reason to think outside the box. That’s no longer the case. These days, it seems like everyone already has a…

  • 7 Best PHP Hosting Server Providers in 2025,Jul

    Are you looking for an efficient and versatile website hosting solution?  Why not try hosting based on the PHP scripting language? Choosing a hosting is a daunting task especially when you have so many options!  The hosting solution that you choose must have certain technical capabilities and functionality so that your project can develop and…

  • Release Day: Single Directory Components in Drupal

    We’ve heard from many of you that you want to learn more about Single Directory Components (SDCs) in Drupal. Which makes sense, since they are one of the most exciting new features in Drupal theming since Twig was added to Drupal 8. We’re excited to share that the first phase of our brand-new SDC course…

  • Drupal AI: How to Set It Up and Try It Out

    After watching the Driesnote earlier this week, I wanted to try and play around with the AI tools that were demonstrated. Mostly because I find this space fascinating, and I like to try and see what kind of goofy things I can get the robots to do. So I installed all the relevant modules on…

  • AI is changing how shoppers find your products

    AI is already reshaping how shoppers discover, compare, and purchase products. Here’s what’s happening, why it matters, and what WooCommerce merchants should know right now. If you sell online, the way your customers find you is changing. Half of all consumers now use AI when searching the internet, according to McKinsey. Shoppers are asking ChatGPT…

  • 9 Best Dedicated Server in India 2026, February🇮🇳Top Picked

    Have you ever struggled with controlling your server environment? Or found yourself frustrated due to unexpected downtimes and server crashes, especially during malicious traffic attacks that you never saw coming? These challenges are common when you’re relying on low-quality hosting services that can’t handle sudden spikes. That’s where Best Dedicated Server Hosting in India steps…