CoCart JWT Authentication
by CoCart Headless on WordPress.org
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.phpfor 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.
- CoCart – CORS enables support for CORS to allow CoCart to work across multiple domains.
 - CoCart – Rate Limiting enables the rate limiting feature.
 - and more add-ons in 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.
🐞 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
- The official CoCart API plugin website.
 - CoCart for Developers, an official hub for resources you need to be productive with CoCart and keep track of everything that is happening with the API.
 - The CoCart Documentation
 - Subscribe to updates
 - Like, Follow and Star on Facebook, Twitter, Instagram and GitHub
 
💯 Credits
This plugin is developed and maintained by Sébastien Dumont.
Founder of CoCart Headless, LLC.