Simple JWT Login – JWT Authentication for REST API
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, Rea
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.