πŸ”₯ Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer β†’
Account Get it free
CoCart JWT Authentication icon
Maintained Tested up to 6.9.12 #7 in decoupled

CoCart JWT Authentication

JWT Authentication for CoCart API.

Active installs200+100+ tier
Downloads Β· 30d316β–² +35.6% vs prev. 30d
Ratingβ€”0 reviews
Health score41/100At risk
All-time downloads10.9KSince Mar 2023
Support resolvedβ€”No recent threads
RequiresWP 6.0PHP 7.4+
Downloads Β· 7d74β–Ό -20.4% week over week
Our verdict

Consider an alternative

CoCart JWT Authentication shows warning signs in 2026 β€” compare the alternatives below before installing. It runs on 200+ sites and was last updated 8 months ago, and scores 41/100 on our health check.

  • Small user base (200+ active installs)
  • Very few reviews so far
  • Only tested up to WordPress 6.9 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

51015Sep 3Oct 17Dec 1
Yesterday12
Daily average (1y)9
Peak day72Dec 3, 2025
Last 12 months3.2K

Download spikes usually follow a new release β€” each site that auto-updates counts as a download.

Rankings

Where CoCart JWT Authentication stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
decoupled #14 156 Best decoupled plugins β†’
headless #41 609 Best headless plugins β†’
jwt #7 327 Best jwt plugins β†’
rest-api >100 10,000 Best rest-api plugins β†’
woocommerce >100 10,000 Best woocommerce plugins β†’

Version adoption

Share of active sites per release.

  • 3.0100.0%

About CoCart JWT Authentication

From the official readme Β· v3.0.3

Description

This free add-on for CoCart allows you to authenticate the Cart API via JSON Web Tokens as an authentication method.

β˜…β˜…β˜…β˜…β˜…

An excellent plugin, which makes building a headless WooCommerce experience a breeze. Easy to use, nearly zero setup time. Harald Schneider

Key Features

  • Standard JWT Authentication: Implements the industry-standard RFC 7519 for secure claims representation.
  • Simple Endpoints: Offers clear endpoints for generating and validating tokens.
  • Configurable Secret Key: Define your unique secret key via wp-config.php for secure token signing.
  • Multiple signing algorithms: HS256, HS384, HS512, RS256, RS384, RS512, ES256, ES384, ES512, PS256, PS384, PS512
  • Rate Limiting: Controlled specifically for refreshing and validating tokens.
  • Helpful Debugging: Detailed logs of authentication issues to help figure out exactly what happened and fix it faster.
  • WP-CLI Commands: Useful commands to handle tokens – whether you need to check, destroy or create new ones, or clean up old ones.
  • Developer Hooks: Provides filters and hooks for more configuration to your requirements.

JSON Web Tokens are an open, industry standard method for representing claims securely between two parties.

For more information, read the core concept on what this plugin does and can do.

πŸ“„ Documentation

See documentation on how to get setup, filters and hooks with examples to help configure JWT Authentication to your needs.

Once ready to use, see the quick start guide. There is also an advanced configuration for using RSA Keys.

β˜…β˜…β˜…β˜…β˜…

Amazing Plugin. I’m using it to create a react-native app with WooCommerce as back-end. This plugin is a life-saver! Daniel Loureiro

πŸ‘ Add-ons to further enhance CoCart

We also have other add-ons that extend CoCart to enhance your headless store development.

These add-ons of course come with support too.

πŸ’œ Need Support?

We aim to provide regular support for the CoCart plugin via our Discord community server. Please understand that we do prioritize support for our paying customers.

⌨️ Join our growing community

On Discord, we have a community of developers, WordPress agencies, and shop owners building the fastest and best headless WooCommerce stores with CoCart.

Come and join our community

🐞 Bug reports

Bug reports for CoCart JWT Authentication are welcomed in the CoCart JWT Authentication repository on GitHub. Please note that GitHub is not a support forum, and that issues that aren’t properly qualified as bugs will be closed.

More information

πŸ’― Credits

This plugin is developed and maintained by SΓ©bastien Dumont.
Founder of CoCart Headless, LLC.

Installation

Minimum Requirements

  • WordPress v5.6
  • WooCommerce v7.0
  • PHP v7.4
  • CoCart v4.3

Recommended Requirements

  • WordPress v6.0 or higher.
  • WooCommerce v9.0 or higher.
  • PHP v8.0 or higher.

Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of CoCart JWT Authentication, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type “CoCart JWT Authentication” and click Search Plugins. Once you’ve found the plugin you can view details about it such as the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”.

Manual installation

The manual installation method involves downloading the plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains instructions on how to do this here.

Upgrading

It is recommended that anytime you want to update “CoCart JWT Authentication” that you get familiar with what’s changed in the release.

CoCart JWT Authentication uses Semver practices. The summary of Semver versioning is as follows:

  • MAJOR version when you make incompatible API changes.
  • MINOR version when you add functionality in a backwards compatible manner.
  • PATCH version when you make backwards compatible bug fixes.

You can read more about the details of Semver at semver.org

Changelog

Fixed crashing the plugins page if the main CoCart plugin is not active.

v3.0.3 – 7th April, 2026

Bug Fix

  • Dashboard: Fixed crashing the plugins page if the main CoCart plugin is not active.

Compatible

  • Tested with CoCart Community v4.9

v3.0.2 – 21st March, 2026

Bug Fix

  • Fixed an edge case where token creation time could return an incorrect value when a token was invalid.
  • Fixed token ID generation failing if a collision was detected.
  • Fixed refreshing a token failing when no refresh token was provided.
  • Fixed tokens not being properly cleared when a user resets their password.

Compatible

  • Tested with WooCommerce v10.6

v3.0.1 – 3rd December, 2025

What’s New?

  • Dashboard: Added plugin action links.

Bug Fix

  • Dashboard: WooCommerce System Status was not accessible.

Compatible

  • Tested with WordPress v6.9
  • Tested with WooCommerce v10.3

v3.0.0 – 20th September, 2025

πŸ“’ This update will invalidate previous tokens as they will no longer be valid.

With this update we have improved tracking of tokens to be dual-secured with a PAT (Personal Access Token) ID. This also makes sure users don’t get unnecessary new tokens when already authenticated for proper token life cycle management and prevent token proliferation when users are already authenticated.

What’s New?

  • Plugin: Refactored the plugin for better management and performance.
  • Plugin: Added background database cleanup for legacy user meta data on plugin activation.
  • REST-API: Users can now have multiple active token sessions, each tracked separately for different devices/browsers.
  • REST-API: Refresh tokens are now properly linked to their corresponding JWT tokens.
  • REST-API: Existing tokens are returned when authenticating with Bearer tokens (prevents token proliferation).
  • WP-CLI: Creating a token now accepts the user ID, email or login. See documentation for updated command.
  • WP-CLI: Added new destroy command to remove tokens for specific users with confirmation prompts.
  • Dashboard: Added setup guide with secret key generator.

Bug Fix

  • WP-CLI: Fixed loading of localization too early.

Improvements

  • Plugin: Tokens will now log the last login timestamp. This is also part of the PAT (Personal Access Token).
  • Plugin: Meta data is hidden from custom fields.
  • REST-API: Authorization will fail if the user has no tokens in session.
  • REST-API: Authorization will fail if the token is not found in session.
  • REST-API: Token refresh now uses proper session rotation for enhanced security.
  • WP-CLI: Listing user tokens will now list each token a user has. See documentation for updated command.
  • WP-CLI: Now localized.

Developers

  • Introduced new filter cocart_jwt_auth_max_user_tokens that sets the maximum number of tokens stored for a user.
  • Introduced new action hook cocart_jwt_auth_authenticated that fires when a user is authenticated.

Compatibility

  • Tested with CoCart v4.8

View the full changelog here.

Full changelog on WordPress.org β†’

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own β€” no account needed.

Active installs badge Rating badge Health score badge

Best CoCart JWT Authentication alternatives

All decoupled plugins β†’
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WPGraphQL WPGraphQL WPGraphQL adds a flexible and powerful GraphQL API to WordPress, enabling efficient… by Jason Bahl 30K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.9 (48) 2 weeks ago 86
2 WPGraphQL IDE WPGraphQL IDE Modern GraphQL IDE for WPGraphQL β€” schema-aware editor, execution history, saved queries… by Joe Fusco 1K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… No reviews 2 weeks ago 65
3 Faust.js Faust.js Faust.jsβ„’ transforms your traditional WordPress installation into a flexible headless CMS. by WP Engine 1K+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 5 (7) 1 month ago 73
4 CoCart – Headless REST API for WooCommerce CoCart – Headless REST API for WooCommerce Ship your headless WooCommerce storefront faster. CoCart is the REST API built for Next.js… by CoCart Headless 900+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 4.9 (21) 2 months ago 83
5 WPGraphQL Blocks WPGraphQL Blocks Get gutenberg blocks as JSON through wp-graphql by Tom Phillips 300+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… No reviews 2 years ago 29
6 CoCart CORS Support CoCart CORS Support Enables support for CORS to allow CoCart to work across multiple domains. by CoCart Headless 300+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… No reviews 2 years ago 26
8 CoCart – Cart API Enhanced CoCart – Cart API Enhanced Enhances CoCart's cart REST API response. by CoCart Headless 100+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… 5 (1) 2 years ago 32
9 Publish to Netlify Publish to Netlify Easily deploy static sites to Netlify using WordPress as backend. This plugin builds your… by RogΓ©rio Moreira 100+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… No reviews 6 years ago 25
10 CoCart – Rate Limiting CoCart – Rate Limiting Enables the rate limiting feature for CoCart. by CoCart Headless 10+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… No reviews 2 years ago 23
11 Guillotheme Guillotheme Guillotheme chops the front-end (i.e. the head) right off your theme by restricting access… by David Matthew 10+ β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜…β˜… No reviews 5 years ago 23

FAQ

CoCart JWT Authentication: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is CoCart JWT Authentication free?

Yes. CoCart JWT Authentication is free to download and use from the official WordPress.org plugin directory.

Is CoCart JWT Authentication safe to use in 2026?

CoCart JWT Authentication shows warning signs in 2026 β€” compare the alternatives below before installing. It runs on 200+ sites and was last updated 8 months ago, and scores 41/100 on our health check.

How many websites use CoCart JWT Authentication?

CoCart JWT Authentication is active on 200+ WordPress websites and has been downloaded 10,909 times since it launched in March 2023. It was downloaded 316 times in the last 30 days.

Does CoCart JWT Authentication work with WordPress 7.1?

CoCart JWT Authentication is officially tested up to WordPress 6.9.12, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does CoCart JWT Authentication need?

CoCart JWT Authentication requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was CoCart JWT Authentication last updated?

The latest version, 3.0.3, was released on April 7, 2026 (8 months ago).

Who makes CoCart JWT Authentication?

CoCart JWT Authentication is developed and maintained by CoCart Headless.

What are the best alternatives to CoCart JWT Authentication?

The most popular alternatives to CoCart JWT Authentication are WPGraphQL (30K+ installs), WPGraphQL IDE (1K+ installs) and Faust.js (1K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↡ to open