Home Plugins cocart jwt authentication
CoCart JWT Authentication logo

CoCart JWT Authentication

by CoCart Headless on WordPress.org

JWT Authentication for CoCart API.

(0)

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

JSON Web Tokens are an open standard RFC 7519 for securely transmitting information between parties.

Read the core concept for more information on what this plugin does and can do.

★★★★★

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. Requires CoCart Plus
  • 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.

For support, please join the community on Discord. For priority support, consider upgrading to CoCart Plus.

📄 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.

For additional security, consider our API Security plugin that provides a firewall to block unknown outsiders, rate limit requests and protect data exposure – no configuration required.

⌨️ Join our growing community

A Discord community for developers, WordPress agencies and shop owners building the fastest and best headless WooCommerce stores with CoCart.

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.

Active installations100+
Weekly downloads
156+100.00%
Version3.0.0
Last updated9/20/2025
WordPress version6.0
Tested up to6.8.2
PHP version7.4
Tags
decoupledheadlessjwtrest-apiwoocommerce
CoCart JWT Authentication | Plugin0