🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
HeadlessKey – JWT Auth icon
Maintenu Testé jusqu'à 6.9.12

HeadlessKey – JWT Auth

A complete authentication solution for Headless WordPress applications using JWT, supporting Registration, SSO, RBAC, and advanced Security features.

Installations actives<10Nouveau
Téléchargements · 30D101▲ +29.5% vs prev. 30d
Évaluation—0 avis
Score de santé36/100En danger
Téléchargements de tous les temps675Since Feb 2026
Support résolu—Aucun fil de discussion récent
A besoin deWP 6.0PHP 8.0+
Téléchargements · 7j22▼ -18.5% week over week
Notre verdict

Envisager une alternative

HeadlessKey – JWT Auth shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 10 months ago, and scores 36/100 on our health check.

  • Petite base d'utilisateurs (<10 installations actives)
  • Très peu de critiques jusqu'à présent
  • Uniquement testé jusqu'à WordPress 6,9 (le dernier est de 7,1)

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

246Sep 2Oct 16Nov 30
Hier5
Moyenne quotidienne (1 ans)2
Jour de pointe31Feb 8, 2026
12 Derniers mois681

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where HeadlessKey – JWT Auth stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
authentication >100 5,058 Best authentication plugins →
headless >100 606 Best headless plugins →
jwt #32 328 Best jwt plugins →
API REST >100 10,000 Meilleurs plugins REST-API →
la sécurité >100 10,000 Meilleurs plugins de sécurité →

About HeadlessKey – JWT Auth

À partir du Lisez-moi officiel · v1.0.0

Description

HeadlessKey – JWT Auth extends the REST API to provide a robust and secure authentication system using JSON Web Tokens (JWT). Designed for Headless WordPress, it enables seamless user authentication, registration, and session management via standard REST endpoints.

Principales caractéristiques

  • Standard JWT Authentication: Secure user authentication using industry-standard RFC 7519 tokens.
  • Multiple Algorithms: Support for HS256, RS256, and ES256 signing algorithms.
  • Comprehensive Endpoints: Ready-to-use endpoints for Login, Register, Token Refresh, and Password Management.
  • Single Sign-On (SSO): Connect multiple sites with a secure, headers-based SSO exchange mechanism.
  • Role-Based Access Control (RBAC): Configure public or authenticated access for every endpoint.
  • Brute Force Protection: Protects against attacks by locking users/IPs after failed attempts.
  • Activity Logs: Detailed audit trail of all authentication events, including IP and device data.
  • Security Webhooks: Real-time JSON events sent to your external services for monitoring key actions.
  • Device Limits: Restrict the number of active devices/sessions per user.
  • Developer Friendly: Extensive hooks and filters for deep customization.

Configuration

Secret Key

The plugin uses a secret key to sign tokens. By default, a secure random key is generated. For better security and consistency across environments, define your key in wp-config.php:

define('headlesskey_SECRET_KEY', 'your-long-random-secure-string');

You can generate a strong salt here: WordPress Salt Generator

CORS Support

Cross-Origin Resource Sharing (CORS) is enabled by default to allow frontend applications to connect. To disable or customize it via constant:

define('headlesskey_CORS', true); // or false to disable

REST API Namespace

By default, endpoints are under wp-json/wpauthapi/v1. You can customize this namespace:

define('headlesskey_REST_NAMESPACE', 'my-custom-auth');
define('headlesskey_REST_VERSION', 'v2');<h3>Endpoints</h3>

The plugin adds the following endpoints under the /wp-json/headlesskey/v1 namespace:

Endpoint
HTTP Verb
Description

/token
POST
Login: Exchange username/password for a JWT.

/token/validate
POST
Validate: Check if a token validity.

/token/refresh
POST
Refresh: Exchange a valid token for a new one (rotation).

/token/revoke
POST
Logout: Invalidate a specific token.

/register
POST
Register: Create a new user account.

/login
POST
Profile: Login and get full user profile data in one request.

/forgot-password
POST
Recover: Request a password reset via Link or OTP.

/reset-password
POST
Reset: Set a new password using a token or OTP.

/change-password
POST
Update: Change password for authenticated user.

/sso/exchange
POST
SSO: Exchange a remote site token for a local session.

1. Login (Generate Token)

Endpoint: POST /wp-json/headlesskey/v1/token
Description: Authenticate a user and generate a JWT token.

Request:
json
{
"username": "admin",
"password": "secret-password"
}

Response:
json
{
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...",
"expiration": "2023-10-27T10:00:00+00:00",
"expires_in": 3600,
"user": {
"ID": 1,
"user_login": "admin",
"user_email": "admin@example.com",
"display_name": "Administrator",
"roles": ["administrator"]
},
"refreshable": true,
"jti": "545086b9-450f-488b-a70d-3047d14d1101"
}

2. Validate Token

Endpoint: POST /wp-json/headlesskey/v1/token/validate
Description: Validate if an existing token is valid.

Request:
json
{
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..."
}

Response:
json
{
"valid": true,
"data": {
"iss": "https://example.com",
"iat": 1698393600,
"exp": 1698397200,
"data": {
"ID": 1,
"user_login": "admin"
}
}
}

3. Refresh Token

Endpoint: POST /wp-json/headlesskey/v1/token/refresh
Description: Rotate an expiring token for a fresh one.

Request:
json
{
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..."
}

Response:
json
{
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.new...",
"expiration": "2023-10-27T11:00:00+00:00",
"user": {
"ID": 1,
"user_login": "admin"
},
"jti": "new-uuid-v4"
}

4. Revoke Token (Logout)

Endpoint: POST /wp-json/headlesskey/v1/token/revoke
Description: Invalidate a token immediately.

Request:
json
{
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9..."
}

Response:
json
{
"message": "Token revoked successfully."
}

5. Register User

Endpoint: POST /wp-json/headlesskey/v1/register
Description: Create a new user account.

Request:
json
{
"username": "johndoe",
"email": "john@example.com",
"password": "secure-password",
"name": "John Doe"
}

Response:
json
{
"user_id": 45,
"user": {
"ID": 45,
"user_login": "johndoe",
"user_email": "john@example.com",
"display_name": "John Doe",
"roles": ["subscriber"]
},
"token_response": {
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOi...",
"expiration": "2023-10-27T10:00:00+00:00"
}
}

6. User Profile (Login Extended)

Endpoint: POST /wp-json/headlesskey/v1/login
Description: Alternative login endpoint that returns cleaner profile structure.

Request:
json
{
"username": "admin",
"password": "secret-password"
}

Response:
json
{
"token": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9...",
"expiration": "2023-10-27T10:00:00+00:00",
"user": {
"ID": 1,
"user_login": "admin",
"user_email": "admin@example.com",
"display_name": "Administrator",
"roles": ["administrator"]
}
}

7. Forgot Password

Endpoint: POST /wp-json/headlesskey/v1/forgot-password
Description: Initiate password recovery. Note: delivery can be link or otp.

Request:
json
{
"login": "admin@example.com",
"delivery": "link"
}

Response:
json
{
"message": "Password reset email sent."
}

8. Reset Password

Endpoint: POST /wp-json/headlesskey/v1/reset-password
Description: Reset password using the token sent via email or OTP.

Request (Link method):
json
{
"login": "admin@example.com",
"password": "new-secure-password",
"token": "generated-reset-key"
}

Response:
json
{
"message": "Password updated successfully."
}

9. Change Password

Endpoint: POST /wp-json/headlesskey/v1/change-password
Description: Change password for currently authenticated user. Requires Authorization header.

Headers:
Authorization: Bearer

Request:
json
{
"current_password": "old-password",
"new_password": "new-secure-password"
}

Response:
json
{
"message": "Password changed successfully. Please login again."
}

10. SSO Token Exchange

Endpoint: POST /wp-json/headlesskey/v1/sso/exchange
Description: Securely exchange a token from a connected remote site for a local authentication session. This powers the distributed Single Sign-On network.

Request:
json
{
"site_key": "remote-site-id",
"token": "remote-jwt-token",
"signature": "hmac-sha256-signature"
}

Response:
Returns a standard Login response (Token + User Data) if the signature is valid.

Journal de modifications

Initial release. Secure your Headless WordPress with JWT today!

1.0.0

  • Initial Release: Complete authentication suite with JWT, RBAC, SSO, and Security features.
  • Security: Added Brute Force protection, Device Limits, and Security Webhooks.
  • API: Full set of endpoints for Login, Register, Password Reset, and Token Management.

Journal des modifications complet sur WordPress.org →

Captures d'écran

General Settings - Configure Token Expiration and Security Policy.
General Settings - Configure Token Expiration and Security Policy.
Algorithms - Choose between HS256, RS256, and ES256.
Algorithms - Choose between HS256, RS256, and ES256.
Logs - View recent authentication activity.
Logs - View recent authentication activity.

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best HeadlessKey – JWT Auth alternatives

All authentication plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 Limiter les tentatives de connexion Limiter les tentatives de connexion Limitez le taux de tentatives de connexion, y compris au moyen de cookies, pour chaque IP. Entièrement personnalisable. par Automattic 200K+ ★★★★★★★★★★ 4.6 (202) Il y a 4 ans 47
2 Deux facteurs Deux facteurs Activez l'authentification à deux facteurs (2FA) à l'aide de mots de passe uniques basés sur le temps (TOTP), e-mail… par WordPress.org 100K+ ★★★★★★★★★★ 4.8 (209) Il y a 2 mois 91
3 Connexion à la limite de WPS Connexion à la limite de WPS WPS limiter la connexion limite les tentatives de connexion par adresse IP par Nicolaskulka 100K+ ★★★★★★★★★★ 4.9 (83) Il y a 2 semaines 81
4 WP-Members Membership Plugin WP-Members Membership Plugin The original WordPress membership plugin with content restriction, user login, custom… by Chad Butler 50K+ ★★★★★★★★★★ 4.6 (272) il y a 1 mois 78
5 Google Authenticator Google Authenticator Two-factor authentication for WordPress using Google Authenticator or any other time-based… by Ivan 20K+ ★★★★★★★★★★ 4.3 (135) il y a 5 jours 87
6 WP Limit Login Attempts WP Limit Login Attempts Limit rate of login attempts and block IP temporarily. Brute force attack protection. GDPR… par Arshid 10K+ ★★★★★★★★★★ 4.6 (300) Il y a 3 mois 84
7 Login for Google Apps by WPAuth Login for Google Apps by WPAuth Simple secure login and user management through your Google Workspace for WordPress (using… de Syed Balkhi 10K+ ★★★★★★★★★★ 4.6 (64) Il y a 2 mois 84
8 Login by Auth0 Login by Auth0 Login by Auth0 provides improved username/password login, Passwordless login, Social login… by Auth0 10K+ ★★★★★★★★★★ 3.1 (18) Il y a 2 ans 34
9 Two Factor (2FA) Authentication via Email Two Factor (2FA) Authentication via Email Enable one-click login with this WordPress Two-Factor Authentication (2FA) plugin… par Sully 9K+ ★★★★★★★★★★ 5 (4) il y a 1 mois 79
10 Authorizer Authorizer Authorizer limits login attempts, restricts access to specific users, and authenticates… by Paul Ryan 8K+ ★★★★★★★★★★ 5 (20) il y a 1 semaine 78

FAQ

HeadlessKey – JWT Auth: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is HeadlessKey – JWT Auth free?

Yes. HeadlessKey – JWT Auth is free to download and use from the official WordPress.org plugin directory.

Is HeadlessKey – JWT Auth safe to use in 2026?

HeadlessKey – JWT Auth shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 10 months ago, and scores 36/100 on our health check.

How many websites use HeadlessKey – JWT Auth?

HeadlessKey – JWT Auth is active on <10 WordPress websites and has been downloaded 675 times since it launched in February 2026. It was downloaded 101 times in the last 30 days.

Does HeadlessKey – JWT Auth work with WordPress 7.1?

HeadlessKey – JWT Auth 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 HeadlessKey – JWT Auth need?

HeadlessKey – JWT Auth requires PHP 8.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was HeadlessKey – JWT Auth last updated?

The latest version, 1.0.0, was released on February 8, 2026 (10 months ago).

Who makes HeadlessKey – JWT Auth?

HeadlessKey – JWT Auth is developed and maintained by Hidayat Mahetar.

What are the best alternatives to HeadlessKey – JWT Auth?

The most popular alternatives to HeadlessKey – JWT Auth are Limit Login Attempts (200K+ installs), Two Factor (100K+ installs) and WPS Limit Login (100K+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir