From first login to token revocation
Each feature is tagged V3 or V4 depending on which version introduced it.
Create WordPress users from a mobile sign-up screen, and limit who can register by Auth Code, IP, or email domain.
Offer an account deletion button in your app. The JWT identifies the account to remove.
Exchange WordPress credentials for a JWT, then refresh, validate, or revoke it - the login flow for a React or mobile app.

Build a "Forgot password" screen in your app: email a reset code, then set the new password through the REST API.

Accept logins or registrations only from your backend or office network - wildcards such as 85.*.*.* work too.

Tie a role to each Auth Code - for example, one code for free members and another for premium - on a single endpoint.

Send login links from MailPoet, authorize WPGraphQL queries, or call the REST routes that other plugins add.

Require a JWT or a role per route and HTTP method - for example, stop anonymous visitors from listing /wp/v2/users.

Publish a post to /wp/v2/posts from a mobile app as the logged-in author, without session cookies.

Add Google sign-in to your front end and get a WordPress JWT back, so users have no extra password to remember.

Already use Google sign-in in your app? Send the Google-issued token directly to WordPress REST endpoints.
Use the identity provider you already have: exchange an Auth0, Facebook, or GitHub login for a WordPress JWT.
A stolen password alone gets no JWT: users with 2FA in the WordPress Two Factor plugin must also enter their code.
Find out who deleted an account or why a login failed - search authentication events in wp-admin.
Build a React storefront: manage products and run the cart & checkout through the WooCommerce REST and Store APIs.
Accept Auth0 tokens next to your own, or rotate keys in stages - rules pick the key from a JWT header or payload claim.
Debug a rejected token without pasting it into a third-party site: read its header and payload in wp-admin.
Why developers choose Simple JWT Login
No coding required
Keys, expiration, allowed IPs, and protected routes are all settings in wp-admin.
6 supported algorithms
Sign with a shared secret (HS256/384/512), or use RS256/384/512 so other services can verify tokens with only the public key.
4 JWT delivery methods
Authorization header, cookie, session, or request parameter. Turn off the ones your app does not use.
Built for developers
Action and filter hooks let you add JWT claims, block a login, or change an API response from your own plugin.
CORS per origin
List the exact front-end origins that can call your API, so a React or Vue app on another domain can log users in.
PHP 5.5+ compatible
The plugin code runs on PHP 5.5+, so your WordPress version sets the minimum. PHP 8.2 or newer is recommended in production.
Auto-login & magic links
Put a short-lived JWT in an email link and the subscriber lands on the page already logged in.
Full token lifecycle
Keep a mobile user signed in with refresh tokens, and revoke the JWT when they log out.
Free & open source
GPL 3.0 licensed, free and open-source, forever. No paid tier and no locked features.
Secure defaults you can verify
A login plugin guards your whole site. Here is how the latest v4 release limits what an attacker can do, and how the project tests and fixes it - each card links to the details.
Off by default
Every plugin endpoint starts disabled. You expose only the operations your app needs.
Hardening guide →Cross-site request checks
Cookie and session JWTs are ignored on cross-site requests unless you list that exact origin, which blocks CSRF.
How it works →Tokens you can take back
Refresh tokens rotate on every use, JWTs can be revoked, and an optional setting ends sessions when a password changes.
Session revocation →Hashed, least-privilege keys
API keys are stored only as SHA-256 hashes. Permissions follow the dispatched method, so method overrides cannot raise them.
API key design →Security vulnerability fixes
Reported vulnerabilities are fixed and shipped in regular releases, documented in the release notes.
Security releases →Security regression tests
A dedicated security test suite covers CSRF, user enumeration, trusted proxy IPs and ambient credentials, so fixed issues stay fixed.
Browse the tests →Continuous integration
Unit, feature and cross-site test suites run automatically in GitHub Actions.
CI workflows →WordPress compatibility testing
Feature tests run against a real WordPress install, alongside PHP syntax checks across multiple PHP versions and the official WordPress Plugin Check.
View the workflows →Responsible disclosure
Found a vulnerability? Report it privately through GitHub security advisories instead of opening a public issue, so a fix can ship before details go public.
Report a vulnerability →SDKs and integrations for PHP, JavaScript, WPGraphQL, and WP-CLI
PHP
Connect any PHP app to Simple JWT Login with one Composer package - supports Laravel, Yii, CodeIgniter, and more.
composer require "nicumicle/simple-jwt-login-client-php"JavaScript
Add JWT authentication to React, Vue, Angular, or any JS app with an npm package and a handful of lines.
npm install simple-jwt-loginWPGraphQL
Use your JWTs to authenticate GraphQL queries and mutations - enable it with a single checkbox.
MailPoet
Send magic-link login emails via MailPoet - let subscribers log in with one click, no password required.
Export & Import
Back up and restore your entire plugin configuration in one click - perfect for staging-to-production migrations.
WP-CLI
Built into the plugin since 4.3.0. Issue and revoke JWTs, rotate signing keys, manage API keys and settings, and read audit logs with wp jwt.
wp jwt generate admin --ttl=10Try the API against your own site
Run live demos right in your browser, against your own WordPress site - nothing is sent anywhere except the URL you provide.
Don't have a site yet? Launch one in one click
Spin up a fully installed WordPress server on DigitalOcean - with Simple JWT Login ready for headless and REST API authentication. No Marketplace setup, no terminal, no install wizard. We hand you the login.
Up and running in 3 steps
Search for Simple JWT Login in the WordPress plugin directory, install, and activate in one click.
Set a JWT secret key, enable the endpoints you need (all are off by default), and choose how long tokens live.
Call POST /auth to get a JWT, then send it as a Bearer token to the WordPress REST API endpoints you enable.
Join the community
Simple JWT Login is built in the open, by the community. Whether you write code, speak another language, or just want to spread the word - there's a place for you.
Rate on WordPress
Love the plugin? A 5-star review on WordPress.org makes a big difference.
Leave a review →Help Translate
Make JWT auth accessible in every language - join us on translate.wordpress.org.
Start translating →What developers are saying
"This plugin serves now as a one-stop shop for JWT authentication, esp for headless WP/web app setups. The even better part is the author who's extremely helpful, swift in responding & fixing issues, acknowledging improvement suggestions, pleasing to talk to and patient. I hope you can keep up the dedicated work, Nicu!"
"This is probably the very absolute best no-nonsense JWT plugin on WordPress. Exceptionally well documented, high customization, easy to setup, and works out of the box with basic setup. No nonsense ads, either. Definitely deserving the 5-star rating across the board. Recommended."
"JWT login plugin is awesome, their support is quite responsive and efficient. They are able to help me and guide me on my customize function to custom generate jwt using their classes."
"it's the best of all JWT plugins, the responsiveness of the developer is simply incredible, he knows his project by heart and will help you efficiently."
Get your first WordPress JWT in 5 minutes
Install the plugin, set a secret key, and call POST /auth. Free and open-source, forever - no account required.