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

  • ServiceNow Knowledge 2024: New Generative AI Features Unveiled

    In May 2024, a 20,000 strong ServiceNow community descended on Las Vegas for 3 days of breakout sessions, training, thought leadership, networking, and partying at Knowledge 24. Knowledge is ServiceNow’s flagship annual conference for customers, partners, and advocates. Although the event is typically centred around customer stories, there were several exciting new announcements that we’ll…

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

  • Google Ties Suspected Russian Actor to CANFAIL Malware Attacks on Ukrainian Orgs

    Ravie LakshmananFeb 13, 2026Threat Intelligence / Malware A previously undocumented threat actor has been attributed to attacks targeting Ukrainian organizations with malware known as CANFAIL. Google Threat Intelligence Group (GTIG) described the hacking group as possibly affiliated with Russian intelligence services. The threat actor is assessed to have targeted defense, military, government, and energy organizations…

  • How to Use AI to Enhance Your WordPress Blog

    Blogging is still at the heart of WordPress’s strengths. The content management system (CMS) started as a blogging platform and continues to shine. Its goal is to democratize publishing, after all. Those old-school roots are still evident. However, new technologies are here to help you take your blog to the next level. We’re talking (of…

  • 10 Best Hostinger Alternative 2025, Sep | Top Competitors

    When it comes to affordable web hosting services, Hostinger is often one of the first names that pops up. It’s budget-friendly, beginner-friendly, and offers a simple platform for individuals starting their online journey.  However, when it comes to handling enterprise-level workloads that need powerful hosting solutions, the question comes, Can Hostinger provide big dedicated solutions?…