Simple JWT Login – JWT Authentication for REST API changelog

By Nicu Micle, on WordPress.org since 2019. 4,000+ active installs.

Browse code

31 tagged releases, newest first. Dates are when each release was tagged in SVN. Notes come from the plugin's readme, which may not list every release.

  1. 4.3.0
    • 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.
    Source Diff vs 4.2.1
  2. 4.2.1
    • Security: Security hardening.
    • Security: Added more security regression tests.
    Source Diff vs 4.2.0
  3. 4.2.0
    • 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

    And 28 more notes.

    Source Diff vs 4.1.1
  4. 4.1.1
    • 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)
    Source Diff vs 4.1.0
  5. 4.1.0
    • 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”

    And 11 more notes.

    Source Diff vs 4.0.2
  6. 4.0.2
    • Fix WooCommerce integration #177
    • Update WordPress 7.1 compatibility
    Source Diff vs 4.0.1
  7. 4.0.1
    • Apply protect endpoints rules only on REST endpoints
    • Improve Google Oauth Security (Reported by @FaridNarimanov) #174
    • JWT Payload: strip reserved claims improvement
    Source Diff vs 4.0.0
  8. 4.0.0
    • Redesign Protect Endpoints: replace separate whitelist/protected lists with a unified ordered rules table where each rule explicitly sets access to Public, JWT required, or JWT + Roles; rules are evaluated top-to-bottom with first-match-wins; old settings auto-migrate;
    • Redesigned Plugin Settings interface
    • Fix double encoding for Reset Password email body#165
    • New refresh token handling
    • Add Audit logs
    • Add support for multiple JWT Decryption keys based on JWT header or payload

    And 24 more notes.

    Source Diff vs 3.6.9
  9. 3.6.9

    No notes for this release in the current readme.

    Source Diff vs 3.6.8
  10. 3.6.8

    No notes for this release in the current readme.

    Source Diff vs 3.6.7
  11. 3.6.7
    • Improve plugin security
    Source Diff vs 3.6.6
  12. 3.6.6
    • Update WordPress 7.0 Compatibility
    Source Diff vs 3.6.5
  13. 3.6.5
    • Fix CVE-2025-58648 – Stored Cross-Site Scripting vulnerabilityPR
    • Fix for bug: Reset password function doesn’t use base64 encoding logic and doesn’t allow user to use any special character #161 #163
    • Fix PHP session initialization warning #159
    • Update WordPress 6.9 Compatibility
    Source Diff vs 3.6.4
  14. 3.6.4
    • Update WordPress 6.8 Compatibility
    Source Diff vs 3.6.3
  15. 3.6.3
    • Fix protect endpoints #149
    Source Diff vs 3.6.2
  16. 3.6.2
    • Fix blocked backened endpoints by ProtectEndpoints #146
    • Ensure Protect endpoints searches for JWT in session
    Source Diff vs 3.6.1
  17. 3.6.1
    • Validate JWT on protect endpoints#141
    • Fix backward compatibility for protect endpoints. Add match/start_with option for endpoints.#143
    Source Diff vs 3.6.0
  18. 3.6.0
    • Add support for configuring request methods on Protect endpoints #129
    • Beta: Authenticate user when performing queries with WPGraphQL #32
    • Code refactorization and UI improvements
    • Authenticate by Username or Email (similar to WP login)#19
    Source Diff vs 3.5.8
  19. 3.5.8
    • Use wp_safe_redirect for redirects #115
    • Ensure JWT middleware only run once #125:
    Source Diff vs 3.5.7
  20. 3.5.7
    • Update WordPress 6.7 Compatibility
    Source Diff vs 3.5.6
  21. 3.5.6
    • Update WordPress 6.6 Compatibility
    • Fix revoked token validation when middleware enabled #110
    Source Diff vs 3.5.5
  22. 3.5.5
    • Update README
    • Refactor Protect Endpoints
    Source Diff vs 3.5.4
  23. 3.5.4
    • Add OAuth support for Google #97
    • Fix status code for expired tokens #102
    • Update WordPress 6.5 Compatibility
    Source Diff vs 3.5.3
  24. 3.5.3
    • Fix licence in composer.json
    • Update WordPress 6.4 compatibility
    Source Diff vs 3.5.2
  25. 3.5.2
    • Fix change user password with revoked JWT
    • Change routes priority from floats to int and fix deprecation message “Implicit conversion from float to int loses precision”
    • Add iss to JWT payload and allow to configure it
    • Fix user meta on register user #86
    • Fix calling protected endpoints with revoked token #75
    Source Diff vs 3.5.1
  26. 3.5.1
    • Update WordPress 6.3 compatibility
    Source Diff vs 3.5.0
  27. 3.5.0
    • Fix unable to create post issue when protect endpoints is enabled for all endpoints
    • Search user by email on reset password
    • Drop support for PHP 5.3 and PHP 5.4
    Source Diff vs 3.4.9
  28. 3.4.9

    No notes for this release in the current readme.

    Source Diff vs 3.4.8
  29. 3.4.8

    No notes for this release in the current readme.

    Source Diff vs 3.4.7
  30. 3.4.7

    No notes for this release in the current readme.

    Source Diff vs 3.4.6
  31. 3.4.6

    No notes for this release in the current readme.

    Source