WordPress plugin

JWT Authentication PRO

JWT Authentication PRO extends WordPress REST API authentication for external applications, mobile interfaces, JavaScript clients, and other services. The underlying add-on includes the jwt-auth/v1 namespace. A client sends user credentials to its token endpoint and receives a JSON Web Token (JWT) after successful authentication. Later requests can carry the token in the Authorization: Bearer header.

JWT Authentication PRO

JWT Authentication PRO extends WordPress REST API authentication for external applications, mobile interfaces, JavaScript clients, and other services. The underlying add-on includes the jwt-auth/v1 namespace. A client sends user credentials to its token endpoint and receives a JSON Web Token (JWT) after successful authentication. Later requests can carry the token in the Authorization: Bearer header.

Issue, validate, and manage tokens

The token endpoint accepts a username and password. A successful response returns a JWT for later API requests; the validation endpoint checks a token supplied in the Authorization header. JWT Authentication PRO adds endpoints for refreshing and revoking tokens. An application can refresh an expired token without requiring another login, or revoke a token when access should end.

  • Signing: The underlying plugin uses HS256. PRO adds signing choices including RS256 and ES256.
  • Payload: Add custom claims to JWTs through the admin interface.
  • Access controls: Configure rate limits and more precise allowed origins and headers for CORS.
  • Activity: Audit logs track token generation, validation, and errors; PRO also provides enhanced error tracking and monitoring.
  • Additional capabilities: Geo-IP identification and developer utilities are listed among the PRO functions.
  • Support: The PRO edition includes priority direct support.

Configure the WordPress integration

Manage authentication settings from the WordPress admin area. JWT signing requires a unique secret key that must remain confidential. CORS support can also be enabled with the documented wp-config.php constant, while PRO settings provide finer control over allowed origins and headers.

The integration is built on WordPress REST API V2 and requires the WP REST API plugin to be installed and activated. The stated minimum PHP version is 7.4.0. Some hosting environments disable the HTTP Authorization Header by default, so confirm that the server passes it through before testing authenticated requests.

Set up and check the process

  1. Install and activate the WP REST API plugin.
  2. Install and activate JWT Authentication PRO.
  3. Open the available settings area and configure the authentication options.
  4. Confirm that the HTTP Authorization Header is available in the hosting environment.
  5. Test token creation, validation, refresh, and revocation with the endpoints used by the application.

Applications can then request a token at login and send it with later REST API calls. The available hooks also let developers tailor parts of the authentication workflow.

Welcome to The Crafted Nest

Get 10% off your first order

Hand-carved marble home décor, delivered free across India. Share your WhatsApp number and we’ll show your code right away.

One use per customer. We’ll occasionally send new pieces and offers; reply STOP anytime.

WordPress Market Prevent Direct Access Gold Price Based on Country PRO Pricing Table Premium Primary Addon for Elementor Pro Prime Mover PRO Prime Slider Pro PrintFriendly Pro Subscription Pro PDF Service PRO Plan Pro Upgrade