BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
AH JWT Auth icon
Actively maintained Tested up to 7.0.0 #13 in auth

AH JWT Auth

This plugin allows sign in to WordPress using a JSON Web Token (JWT) contained in a HTTP Header.

Active installs20+10+ tier
Downloads · 30d88▲ +22.2% vs prev. 30d
Rating—0 reviews
Health score58/100Fair
All-time downloads3.2KSince Apr 2021
Support resolved—No recent threads
RequiresWP 4.7PHP 8.0+
Downloads · 7d23▲ +76.9% week over week
Our verdict

Use with caution

AH JWT Auth works, but test it on a staging site before relying on it in 2026. It runs on 20+ sites and was last updated 3 months ago, and scores 58/100 on our health check.

  • Small user base (20+ active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

81725Jul 6Aug 19Oct 3
Yesterday3
Daily average (1y)3
Peak day51Jun 26, 2026
Last 12 months986

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where AH JWT Auth stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
auth #39 1,355 Best auth plugins →
authentication >100 4,351 Best authentication plugins →
jwt #12 284 Best jwt plugins →
login >100 8,696 Best login plugins →
sso #75 275 Best sso plugins →

Version adoption

Share of active sites per release.

  • 2.4100.0%

About AH JWT Auth

From the official readme · v2.4.0

Description

This plugin allows sign in to WordPress using a JSON Web Token (JWT) contained
in a HTTP Header that is added by a reverse proxy that sits in front of your
WordPress deployment.

Authentication and optionally role assignment is handled by claims contained in
the JWT.

If configured, the plugin also validates the JWT aud and iss claims against
the expected application audience and JWT issuer values.

Verification of the JWT is handled by either:

  • a shared secret for HS256 (as per RFC 7518 this must be at least 256-bits in
    size)
  • a PEM encoded public key for RS256
  • retrieving a JSON Web Key Set (JWKS) from a configured URL (also for RS256)

During the login process if the user does not exist an account will be created
with a matching role from the JWT, unless automatic user creation has been
disabled in the plugin settings.

If the JWT did not contain a role claim then user is created with the role set
in the plugin settings (by default this is the subscriber role).

Automatic user creation is enabled by default for backwards compatibility. It
can be disabled when user provisioning should remain manual.

Frequently asked questions

What header is the JWT retrieved from?

By default the plugin looks for the JWT in the Authorization header as follows: Authorization: Bearer However the token may be retrieved from a configurable HTTP header, for example to integrate with Cloudflare Access, which was the original target for this plugin, you would configure the use of the Cf-Access-Jwt-Assertion header.

What claims should the JWT contain?

The JWT must contain at least an email claim and may also contain a role claim: { "iss": "example.com", "aud": "example-audience-id", "email": "admin@example.com", "iat": 1356999524, "nbf": 1357000000, "role": "admin" } The aud and iss claims are only required when a JWT Audience and/or Issuer value has been configured in the plugin settings, however as they are standard JWT claims it is recommended to set these options to verify those claims exist and are valid.

What signature algorithms are supported to verify the JWT?

Currently only the HS256 and RS256 algorithms are supported.

Changelog

Initial public release

2.4.0

  • Fix fatal error with JWKS caching

2.3.0

  • Replace JWKS caching process

2.2.0

  • Spelling fixes and hardening
  • Add option to enforce JWT auth (ie “fail-closed”) rather than falling
    through to WordPress authentication.

2.1.0

  • Add option to verify JWT issuer

2.0.0

  • Breaking Change: Any secrets that are less than 256-bits (32-characters)
    in length will fail JWT HS256 verification

1.6.0

  • Added option to verify JWT Audience (AUD)
  • Added option to disable automatic user creation

Full changelog on WordPress.org →

Screenshots

This example shows a configuration with a WordPress install behind
Cloudflare Access for SSO via JWT
This example shows a configuration with a WordPress install behind Cloudflare Access for…

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best AH JWT Auth alternatives

All auth plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 authLdap authLdap Use your existing LDAP flexible as authentication backend for WordPress by heiglandreas 4K+ ★★★★★★★★★★ 5 (19) 3 months ago 75
2 WP BASIC Auth WP BASIC Auth Enabling this plugin allows you to set up Basic authentication on your site using your… by wokamoto 3K+ ★★★★★★★★★★ 3.6 (7) 4 years ago 34
3 WP Cron HTTP Auth WP Cron HTTP Auth Enables WP Cron on sites using HTTP Authentication. by Jeff Starr 1K+ ★★★★★★★★★★ 5 (17) 2 months ago 78
4 WP Cassify WP Cassify The plugin is an Apereo CAS Client. It performs CAS authentication and autorization for… by Alain-Aymerick FRANCOIS 800+ ★★★★★★★★★★ 5 (16) 4 months ago 71
5 HTTP Basic Auth HTTP Basic Auth Basic Auth for Wordpress. by Grzegorz Rola 200+ ★★★★★★★★★★ 1 (1) 5 years ago 21
6 Login via Yandex – вход через Яндекс ID Login via Yandex – вход через Яндекс ID Wordpress плагин для входа через Яндекс позволяет легко регистрироваться и входить на сайт… by webseed 100+ ★★★★★★★★★★ 5 (5) 1 month ago 69
7 VA Simple Basic Auth VA Simple Basic Auth Simply by enabling the plugin can set up a basic auth to dashboard and login page. by kuck1u 60+ ★★★★★★★★★★ 5 (1) 10 years ago 32
8 Wp Auth Wp Auth WP Auth is a set of tools to make your site new users friendly. It contains shortcodes and… by ivansf 60+ ★★★★★★★★★★ No reviews 14 years ago 25
9 Password Protect Staging Password Protect Staging Quickly and easily password protect a site to keep it from the prying eyes of google. by benlumley 50+ ★★★★★★★★★★ 5 (2) 12 years ago 32
10 MW Auth MW Auth This plugin allows only users to authenticate to WordPress. by Takashi Kitajima 40+ ★★★★★★★★★★ 5 (2) 12 years ago 31

FAQ

AH JWT Auth: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Oct 4, 2026

Is AH JWT Auth free?

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

Is AH JWT Auth safe to use in 2026?

AH JWT Auth works, but test it on a staging site before relying on it in 2026. It runs on 20+ sites and was last updated 3 months ago, and scores 58/100 on our health check.

How many websites use AH JWT Auth?

AH JWT Auth is active on 20+ WordPress websites and has been downloaded 3,235 times since it launched in April 2021. It was downloaded 88 times in the last 30 days.

Does AH JWT Auth work with WordPress 7.1?

AH JWT Auth is officially tested up to WordPress 7.0.0, while the latest release is 7.1.2. It may still work, but try it on a staging site first.

What PHP version does AH JWT Auth need?

AH JWT Auth requires PHP 8.0 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was AH JWT Auth last updated?

The latest version, 2.4.0, was released on July 17, 2026 (3 months ago).

Who makes AH JWT Auth?

AH JWT Auth is developed and maintained by andrewheberle.

What are the best alternatives to AH JWT Auth?

The most popular alternatives to AH JWT Auth are authLdap (4K+ installs), WP BASIC Auth (3K+ installs) and WP Cron HTTP Auth (1K+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.