PayPal's latest payment processing solution. Accept PayPal, Pay Later, credit/debit cards, alternative digital wallets and bank accounts.
Simple JWT Login – JWT Authentication for REST API
Hospedagem WordPress com plugin Simple JWT Login – JWT Authentication for REST API
Onde hospedar o plugin Simple JWT Login – JWT Authentication for REST API?
Este plugin pode ser hospedado em qualquer hospedagem que possua WordPress instalado. Recomendamos fortemente optar por um provedor de hospedagem confiável, com servidores especializados para WordPress, como o serviço de hospedagem de sites da MCO2.
Hospedando o plugin Simple JWT Login – JWT Authentication for REST API em uma empresa de hospedagem confiável
A MCO2, além de configurar e instalar o WordPress na versão mais atual para seus clientes, oferece o plugin WP SafePress, um mecanismo exclusivo que salvaguarda e melhora seu site conjuntamente.
Por que a Hospedagem WordPress funciona melhor na MCO2?
A Hospedagem WordPress funciona melhor pois a MCO2 possui servidores otimizados para WordPress. A instalação de WordPress é diferente de uma instalação trivial, pois habilita imediatamente recursos como otimização de imagens, proteção da página de login, bloqueio de atividades suspeitas diretamente no firewall, cache avançado e HTTPS ativado por padrão. São recursos que potencializam seu WordPress para a máxima segurança e o máximo desempenho.
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
🧩 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/2fabefore 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 · Code examples · Error codes
🔒 Security you can verify
Authentication is only as good as its maintenance. Security reports are handled through responsible disclosure (Patchstack) 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.
Capturas de tela

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

Login - auto-login, redirects after login, and access control

Register - registration endpoint, default roles, random passwords, and allowed user meta

Delete User - delete endpoint with auth code and IP restrictions

Reset Password - reset and change password flow with customizable emails

Authenticate - JWT generation with a live payload preview, issuer, audience, and expiration

Refresh Token - refresh token endpoint and token lifetime

Validate Token - validate token endpoint

Revoke Token - revoke token endpoint

Auth Codes - authorization codes with a per-code role and expiration date

Protect Endpoints - ordered access rules: public, JWT required, or JWT + roles

CORS - allowed origins, methods, and headers

API Keys - create keys with permissions and expiry, and manage existing keys

Revoked Tokens - every revoked token with its expiration date

OAuth - Google, Auth0, Facebook, and GitHub login, plus the login button layout

Third-Party Integrations - WPGraphQL, Two Factor, Force Login, WooCommerce, and AI Abilities (MCP)

Webhooks - outbound HTTP calls on login, registration, and authentication

Webhook Logs - the result of every webhook call, with a retention period

Audit Logging - choose which events to record and how long to keep them

Activity Log - filterable history of every login, registration, and authentication event

Hooks - every WordPress action and filter the plugin exposes

JWT Decoder - inspect a token's header and payload right in your browser
