🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Conta Get it free
Simple JWT Login – JWT Authentication for REST API icon
Manutenção ativamente Testado com WP 7.1 #3 in headless

Simple JWT Login – JWT Authentication for REST API

Modern JWT authentication for WordPress REST APIs, headless frontends, mobile apps, WooCommerce and WPGraphQL - fully free, no upsells.

Instalações ativas4K+Nível 1K+
Downloads · 30d9K▲ +149.3% vs prev. 30d
Classificação5/547 comentários
Pontuação da saúde93/100Excelente
Downloads de todos os tempos111KSince Jun 2019
Suporte resolvido1 / 1100% nos últimos 2 meses
RequerWP 6.2PHP 5.5+
Downloads · 7d2.9K▼ -20.3% week over week
Nosso veredicto

Escolha segura

Yes — Simple JWT Login is a safe, well-maintained plugin to use in 2026. It runs on 4K+ sites, is rated 5/5 and was last updated 3 days ago, and scores 93/100 on our health check.

  • Loved by users — 5/5 from 47 reviews
  • Desenvolvido ativamente — última atualização 3 dias atrás
  • Testado com as últimas WordPress (7.1)
  • Momentum — downloads up 149.3% vs the previous 30 days

Como ele se acumula?

Lado a lado em instalações, atualizações, avaliações e suporte

Downloads diários

238476714Sep 2Oct 16Nov 30
Ontem223
Média diária (1y)95
Dia de pico953Nov 28, 2026
Últimos 12 meses34.5K

Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.

Rankings

Where Simple JWT Login stands today

WordPress.org Classificações de pesquisa

Posição ao vivo na pesquisa de plugins, top 100
Palavra chavePosiçãoPlugins concorrentesCategoria
headless #15 606 Best headless plugins →
jwt #1 328 Best jwt plugins →
oauth #13 1,873 Best oauth plugins →
rest-api #12 10,000 Best rest-api plugins →
WooCommerce >100 10,000 Os melhores plugins do WooCommerce →

Adoção da versão

Compartilhamento de sites ativos por lançamento.

  • 3.666.3%
  • 4.39.0%
  • 3.58.4%
  • 4.27.3%
  • 4.15.4%
  • Outros3.7%

Divisão de classificação

★★★★★★★★★★ 5 from 47 reviews

  • 5★97.9%
  • 4★2.1%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Simple JWT Login

From the official readme · v4.3.0

Descrição

Log users in, register them, and protect your WordPress REST API with JSON Web Tokens – all from a friendly admin screen, without writing a single line of PHP.

Simple JWT Login turns WordPress into a secure backend for your headless frontend, mobile app, or external service. Next.js, React, Vue, React Native, Flutter, a Node.js server or a CI pipeline: if it can send an HTTP request, it can authenticate with your WordPress site.

And it is 100% free and open source. Refresh tokens, API keys, audit logs, webhooks, OAuth social login and two-factor authentication are all included. No Pro plan, no feature locks, no telemetry.

Trusted on 4,000+ WordPress sites, rated 5 stars on WordPress.org, and actively maintained since 2019.

“This is by far the best JWT plugin for headless. I’ve tried them all!”
– a developer, in a 5-star WordPress.org review

👉 Quick Start · Documentation · API Reference · Live Demos

⚡ See how simple it is

Send your credentials, get a token back:

curl -X POST \
  https://your-site.com/wp-json/simple-jwt-login/v1/auth \
  -d email=jane@example.com \
  -d password=secret

The response:

{
  "success": true,
  "data": {
    "jwt": "eyJ0eXAiOiJKV1Qi...",
    "refresh_token": "a1b2c3d4..."
  }
}

Turn on JWT Middleware for all WordPress endpoints, then call any WordPress REST endpoint as that user:

curl https://your-site.com/wp-json/wp/v2/users/me \
  -H "Authorization: Bearer eyJ0eXAiOiJKV1Qi..."

That’s the whole integration. Everything else – refresh, auto-login, social login, protected routes – is a toggle away.

⭐ Like what you see? Star Simple JWT Login on GitHub and browse the source.

✨ Why developers choose Simple JWT Login

  • No code required – every feature is a toggle in a clean, tab-based admin UI.
  • Everything is free – the features other plugins sell as “Pro” ship here at no cost.
  • Up and running in five minutes – copy the auto-generated sample URLs and try them right in the built-in endpoint tester.
  • Secure by default – every endpoint starts disabled, and a security report on the dashboard points out risky settings.
  • Runs on any host – from PHP 5.5 all the way to PHP 8, on WordPress 6.2 and newer.
  • Truly open source – GPL 3.0, no obfuscated code, built in the open on GitHub.

🧰 Everything in one plugin

  • Authentication – generate, refresh, validate and revoke JWTs, with HS or RS signing and custom claims. Learn more
  • Auto-login – send users from your app straight into WordPress, already logged in. Learn more
  • User management – register, reset passwords and delete accounts over REST, with auth codes for extra protection.
  • Social login – Google, Facebook, GitHub and Auth0. Learn more
  • Protected endpoints – choose who can reach each REST route: public, any logged-in user, or specific roles. Learn more
  • CORS – let your frontend’s domain call the API safely. Learn more
  • API keys – credentials with their own permissions and expiry for servers and scripts. Learn more
  • Audit logs and webhooks – see every login attempt and notify your other systems. Audit logs · Webhooks
  • WP-CLI – set up the plugin, issue, refresh, validate and revoke JWTs (also every token of a user), rotate the signing key, manage API keys, auth codes and settings, run the security report and diagnostics, and read the logs with wp jwt commands. Built in, no add-on needed. Learn more

🧩 Plays well with your favorite plugins

  • 🛒 WooCommerce – build a headless store: cart, checkout and customer accounts over the REST and Store APIs, authenticated with a JWT and no session cookies. Learn more
  • 🔐 Two Factor – users who have 2FA turned on send their code to /auth/2fa before they get a token, so your app is as safe as wp-login.php. Learn more
  • 🕸️ WPGraphQL – run authenticated GraphQL queries and mutations as the logged-in user. Learn more
  • 🚪 Force Login – keep your site private while your app can still reach the login endpoints. Learn more
  • 🤖 AI Abilities (MCP) – let AI agents check, configure and troubleshoot the plugin, with access you control. Learn more

🛠️ Built for developers

Hooks · PHP SDK · JavaScript SDK · CLI · Postman collection · Code examples · Error codes

🔒 Security you can verify

Authentication is only as good as its maintenance. Security reports are handled through responsible disclosure (GitHub private vulnerability reporting) and fixed within days, and every fix ships with a regression test that reproduces the original issue.

  • Unit, integration and real-browser cross-site (CSRF and CORS) test suites run on every change
  • Static analysis with PHPStan and PHPMD, and WordPress coding standards
  • Brute-force protection plugins (Limit Login Attempts, Wordfence) cover the login endpoint just like wp-login.php
  • The open source code is on GitHub – read it, audit it, contribute

💚 Free, and staying free

Here is what you get compared to the typical WordPress JWT plugin:

  • JWT authentication – free here, free elsewhere
  • Refresh tokens – free here, often paid or missing elsewhere
  • API keys, audit logs, webhooks – free here, premium elsewhere
  • Google, Facebook, GitHub and Auth0 login – free here, premium elsewhere
  • WPGraphQL, WooCommerce and two-factor support – free here, rarely available elsewhere
  • Custom JWT claims – free from the admin screen here, code or premium elsewhere

If it saves you time, a donation or a 5-star review keeps the project going.

Instalação

  1. In your WordPress admin, go to Plugins > Add New and search for “Simple JWT Login”.
  2. Click Install Now, then Activate.
  3. Open Settings > Simple JWT Login.
  4. In the General tab, set a long, random JWT Decryption Key and pick an algorithm (HS256 is a safe default).
  5. Enable the features you need – every endpoint is off until you turn it on.

That’s it. Each tab shows ready-to-copy sample URLs and a Try it out button, so you can test your first request without leaving WordPress.

Follow the Quick Start guide for a step-by-step walkthrough, or read about every option in the Configuration guide.

Log de Changes

Security release. All users are encouraged to upgrade.

A complete changelog is available on the GitHub repository.

4.3.0 (28 November 2026)

  • New jti JWT payload claim (Authentication > JWT payload): a unique, random ID in every issued JWT, so two tokens issued for the same user in the same second are no longer identical (revoking one no longer revokes the other). Enabled by default, also on existing sites (settings schema version 3). The admin page shows a warning when it is turned off.
  • Fixed a database error on /revoked-tokens, /api-keys and the audit / webhook logs when a very large page is requested: the SQL offset overflowed into a negative number. Such pages now return an empty list.
  • Fixed a 500 error on /users, /user/reset_password, /auth/refresh and /oauth/token when a parameter is sent as an array or an object; these requests now get the usual validation error.
  • API documentation: the id in the decoded JWT payload of /auth/validate is documented as a numeric string, as it is returned.
  • Added a Schemathesis check (composer run test-openapi, also in CI) that the live REST responses match the OpenAPI spec.

4.2.1 (22 November 2026)

  • Security: Security hardening.
  • Security: Added more security regression tests.

4.2.0 (19 November 2026)

  • Security: Fixed multiple security vulnerabilities affecting authentication, authorization, and REST API endpoints.
  • Security: Added security regression tests reproducing previously identified vulnerabilities to prevent regressions.
  • Security: Strengthened validation and authorization mechanisms across affected endpoints.
  • Security: Improved overall security and robustness.
  • Security: Improved the data returned by REST API endpoints.
  • New option “Revoke sessions on password change” (Authentication, off by default). When on, changing a password deletes the user’s refresh tokens and rejects every JWT issued before the change. JWTs without an iat claim are then also rejected for that user
  • New optional “Expected audience (aud)” setting for the plugin’s own JWTs and for each JWT Rule. When set, new JWTs carry that aud and only JWTs whose aud contains it are accepted (new error code 130)
  • New OAuth options, off by default, to accept tokens that are not bound to the configured app, for backward compatibility: “Allow tokens issued for other Google clients”, “Allow tokens issued for other Facebook apps”, “Allow tokens issued for other GitHub apps” (also accepts personal access tokens) and Auth0 “Allow opaque access tokens”. The admin screen shows a security warning while one is on: any app on that provider could then log its users into the matching WordPress accounts
  • Dashboard: new “Security notices” section listing the enabled options and settings that weaken security (critical and warning findings of the security report), most severe first. Clicking a notice opens the matching settings tab. The dashboard and the AI security-report ability also report the OAuth options above when they are on
  • /auth now checks the password with wp_authenticate(), so brute-force and user-block plugins (Limit Login Attempts, Wordfence, …) protect it like wp-login.php. Application passwords can not be exchanged for a JWT
  • The security report now warns when authentication with password_hash is enabled
  • Admin: optional support banner with a donation link at the top of the settings page. It can be dismissed for 6 months and no features are locked behind donations
  • OpenAPI: the endpoints used by the plugin admin screens (/api-keys*, /revoked-tokens*) are tagged internal, with their access rules (revoked tokens: administrators only; API keys: own keys, administrators manage every user’s keys)
  • OpenAPI: every endpoint now documents its real request parameters, status codes and error codes, with examples taken from the plugin messages
  • Breaking: WordPress 6.2 or newer is required (was 4.4). The plugin’s database queries use the %i identifier placeholder added in WordPress 6.2
  • Breaking: The OAuth login buttons (Google, Auth0, Facebook, GitHub) now go through the plugin, which redirects to the provider. Custom login buttons or links that send visitors straight to the provider with the plugin’s callback as redirect_uri stop working. Link to GET /oauth/token?provider=<provider> instead
  • Breaking: Tokens sent to the OAuth endpoint (and Google id_tokens used on all endpoints) must be issued for the app configured in the plugin: a Facebook or GitHub access_token must belong to the configured app (GitHub personal access tokens are rejected), a Google id_token must have the configured Client ID as aud, and an Auth0 access_token must be a JWT issued for the configured Auth0 Client ID (azp or aud), so opaque Auth0 access tokens are rejected. Sites that need the old behavior can turn on the matching new option (see New)
  • Breaking: POST /user/reset_password with an unknown email now answers 200 instead of 404 “Wrong user.”
  • Breaking: With “Trust reverse proxy IP headers” on, the client IP is read from the last X-Forwarded-For entry only. Sites whose proxy sends the client IP only in Client-IP must switch the proxy to X-Forwarded-For
  • Breaking: After too many wrong two-factor codes (30 by default, Two Factor filter two_factor_failed_attempt_limit) sent to POST /auth/2fa or the OAuth two-factor form, the user’s password is reset and the user and admin are emailed, as on wp-login.php
  • Breaking: API keys used on /batch/v1 need the create, update and delete permissions, otherwise they get 401
  • Breaking: Client errors that answered HTTP 500 now answer their real status (error_code values are unchanged):
    • 401: 2FA session expired / interim JWT missing claims / wrong 2FA code (106, 107, 109), interim 2FA JWT used as a normal JWT (110), JWT without the “JWT login by” claim (29, 30), Facebook and GitHub invalid code or token (98, 99, 102, 103), Google id_token issued for another client (118)
    • 403: revoked token endpoints called by a non-administrator (115), OAuth account email not verified (111 Auth0, 112 GitHub, 119 Google)
    • 404: Facebook and GitHub user not found (100, 104), revoked token id not found (116)
    • 422: invalid OAuth provider or missing OAuth code/token (69, 71, 77, 97, 101), missing reset password code (60), API key without name or permissions, or with an unknown permission (85, 86, 87)
    • 429: too many wrong 2FA codes (108)
  • Breaking: Failing to store the 2FA session now has its own error code 133 (HTTP 500); it used to share code 107 with “2FA session expired”
  • Fix the Facebook browser login returning a 500 error instead of the login page with the error message when Facebook rejects the code
  • Fix two parallel /auth/refresh calls with the same refresh token both getting a new JWT: a refresh token can now be used once only
  • Fix API keys and refresh tokens staying in the database when a user is deleted in wp-admin, and an API key of a deleted user causing a 500 error instead of 401
  • Fix /auth rejecting base64 passwords that contain ', " or \. Invalid base64 now answers “Wrong user credentials.”
  • Fix /auth and /auth/refresh returning a refresh token that could not be saved: they now answer 500 (new error code 131)
  • Fix API key expires_at accepting any text: it must be a date, a date time or an ISO 8601 date (new error code 132), is read as UTC and stored as UTC. The admin form now sends the browser’s local time converted to UTC
  • Fix the Delete button in Security > Revoked Tokens, which always failed with “Invalid revoked token ID.”: DELETE /revoked-tokens/{id} now receives the id from the URL path (it answered 500, error_code 116)

4.1.1 (15 November 2026)

  • Security: a JWT read from a cookie, the session or the Authorization header no longer authenticates cross-site requests (including sibling subdomains and other ports), fixing CSRF on cookie-authenticated REST requests when the API middleware is enabled (Reported via Patchstack)
  • Breaking: cross-origin browser apps that send the JWT must have their origin listed in the CORS “Allow origin” setting. A “*” entry trusts the Authorization header only, never the cookie or session
  • Breaking: with CORS disabled (or “Allow origin” off), a JWT sent by a browser page on another site, even in the Authorization header, is ignored. Requests from the site itself, server-to-server calls, mobile apps and JWTs passed in the URL (e.g. autologin links) are not affected
  • Fix “JWT from session” making every plugin endpoint and Protect Endpoints fail with a 500 error (call to an undefined session function)

4.1.0 (11 November 2026)

  • Security: fix CSRF in the Force Login integration on cookie-authenticated REST requests (Reported via Patchstack)
  • Security: JWT middleware and the WooCommerce integration now check the resolved REST route instead of searching the URL
  • Security: Protect Endpoints now enforces “JWT + Roles” rules for logged-in (cookie-authenticated) users and API key owners
  • New integration: AI Abilities (MCP) – let AI agents manage and troubleshoot the plugin through the WordPress Abilities API (WordPress 6.9+)
  • Fix secrets (auth codes, JWT rule keys, webhook header values) being written in plain text to the “Settings Saved” audit log entry
  • Security: registration never sets capability, user level or session meta keys from the request, even when they are listed in “Allowed user meta”
  • Security: webhook calls time out after at most 30 seconds (0 now means 30 seconds instead of no timeout), so a slow webhook endpoint cannot hang logins
  • Fix login creating two WordPress sessions instead of one (autologin, register with auto-login, OAuth), reducing DB writes per login
  • Performance: API key “last used” timestamp is now updated at most once per minute per key, instead of on every request. A new Update “Last used” setting (API Keys) lets you switch back to updating it on every request
  • Performance: remove an extra database query on every API key request
  • WooCommerce integration: authenticate JWT requests without a full login, so API calls no longer create a new WordPress session, set auth cookies or fire wp_login on every request
  • Performance: load the WordPress admin user functions only when deleting a user, instead of on every request
  • Performance: Protect Endpoints no longer checks the revoked-token table twice for every JWT-authenticated request
  • Performance: the Force Login, WooCommerce and WPGraphQL integrations reuse the plugin settings instead of re-reading and decoding them on every REST request
  • Performance: Protect Endpoints checks access once per REST request instead of every time WordPress reads the route list
  • Fix CORS headers missing on REST error responses (401/403 from JWT auth and protected endpoints) #179
  • CORS: support multiple allowed origins (comma-separated); the matching request origin is echoed back, and * echoes the request origin so credentialed requests work #179

4.0.2 (09 October 2026)

  • Fix WooCommerce integration #177
  • Update WordPress 7.1 compatibility

Registro de change completo em WordPress.org →

Capturas de tela

Dashboard - every route's status at a glance, with security notices for risky settings
Dashboard - every route's status at a glance, with security notices for risky settings
General - signing algorithm and keys, user identification, and where tokens are read from
General - signing algorithm and keys, user identification, and where tokens are read from
Login - auto-login, redirects after login, and access control
Login - auto-login, redirects after login, and access control
Register - registration endpoint, default roles, random passwords, and allowed user meta
Register - registration endpoint, default roles, random passwords, and allowed user meta
Delete User - delete endpoint with auth code and IP restrictions
Delete User - delete endpoint with auth code and IP restrictions
Reset Password - reset and change password flow with customizable emails
Reset Password - reset and change password flow with customizable emails
Authenticate - JWT generation with a live payload preview, issuer, audience, and expiration
Authenticate - JWT generation with a live payload preview, issuer, audience, and…
Refresh Token - refresh token endpoint and token lifetime
Refresh Token - refresh token endpoint and token lifetime
Validate Token - validate token endpoint
Validate Token - validate token endpoint

Para desenvolvedores

Este é o seu plugin? Mostre os números.

Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.

Selo de Instalações Ativas Selo de classificação Distintivo de pontuação de saúde

Best Simple JWT Login alternatives

All headless plugins →
Alternativas
Classificação Plugin Instalações ativas Classificação Atualizada Saúde
1 WPGraphQL WPGraphQL WPGraphQL adds a flexible and powerful GraphQL API to WordPress, enabling efficient… by Jason Bahl 30K+ ★★★★★★★★★★ 4.9 (48) 2 semanas atrás 86
2 WPGraphQL for ACF WPGraphQL for ACF WPGraphQL for ACF seamlessly integrates Advanced Custom Fields with WPGraphQL. by Jason Bahl 10K+ ★★★★★★★★★★ 5 (1) 1 semana atrás 75
4 Headless Mode Headless Mode Once you take the head off of WordPress, nobody needs to see it. This plugin hides the… by Ben Meredith 2K+ ★★★★★★★★★★ 5 (6) 2 anos atrás 40
5 BabyLoveGrowth Integration BabyLoveGrowth Integration Publish SEO articles on autopilot from BabyLoveGrowth.ai and earn quality backlinks to grow… by BabyLoveGrowth 2K+ ★★★★★★★★★★ Sem comentários 2 horas atrás 71
6 WPGraphQL IDE WPGraphQL IDE Modern GraphQL IDE for WPGraphQL — schema-aware editor, execution history, saved queries… by Joe Fusco 1K+ ★★★★★★★★★★ Sem comentários 2 semanas atrás 65
7 Faust.js Faust.js Faust.js™ transforma sua instalação tradicional WordPress em um CMS flexível e sem cabeça. pelo motor WP 1K+ ★★★★★★★★★★ 5 (7) 1 mês atrás 73
8 LLM Markdown – Markdown Endpoints for AI Agents LLM Markdown – Markdown Endpoints for AI Agents Serve clean Markdown versions of WordPress posts, pages, and custom post types for AI… by Michael Sablone 900+ ★★★★★★★★★★ 5 (5) 6 dias atrás 76
9 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 800+ ★★★★★★★★★★ 4.9 (21) 2 meses atrás 83
10 Luz de vara Luz de vara Use WordPress Autenticação e permissões em aplicativos externos do React por meio do Secure Rest… por Elementor 400+ ★★★★★★★★★★ Sem comentários 2 semanas atrás 65
11 WPGraphQL Blocks WPGraphQL Blocks Get gutenberg blocks as JSON through wp-graphql by Tom Phillips 300+ ★★★★★★★★★★ Sem comentários 2 anos atrás 29

FAQ

Simple JWT Login: quick answers

Respostas diretas, extraídas de dados ao vivo WordPress.org.

Fonte: WordPress.org

Is Simple JWT Login free?

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

Is Simple JWT Login safe to use in 2026?

Yes — Simple JWT Login is a safe, well-maintained plugin to use in 2026. It runs on 4K+ sites, is rated 5/5 and was last updated 3 days ago, and scores 93/100 on our health check.

How many websites use Simple JWT Login?

Simple JWT Login is active on 4K+ WordPress websites and has been downloaded 111,033 times since it launched in June 2019. It was downloaded 8,965 times in the last 30 days.

Does Simple JWT Login work with WordPress 7.1?

Yes. The developer has tested Simple JWT Login up to WordPress 7.1.5, the latest release. It requires WordPress 6.2 or newer.

What PHP version does Simple JWT Login need?

Simple JWT Login requires PHP 5.5 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Simple JWT Login last updated?

The latest version, 4.3.0, was released on November 28, 2026 (3 days ago).

Who makes Simple JWT Login?

Simple JWT Login is developed and maintained by Nicu Micle.

What are the best alternatives to Simple JWT Login?

The most popular alternatives to Simple JWT Login are WPGraphQL (30K+ installs), WPGraphQL for ACF (10K+ installs) and Headless Mode (2K+ installs).

Alimentado por PageForge

Um modelo e uma planilha. Uma página real para cada pesquisa.

PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.

  • CSV e XLSX, mais Google Sheets em Profissional e Empresarial
  • Seu próprio título, URL, SEO campos e esquema para cada página
  • Funciona com o editor de blocos, Elementor, Divi e Avada
  • Gratuito em WordPress.org, sem cartão de crédito

↑↓ mover↵ abrir