Home Plugins ah jwt auth
AH JWT Auth logo

AH JWT Auth

by andrewheberle on WordPress.org

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

(0)
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 SSO via JWT

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.

Verification of the JWT is handled by either:

  • a shared secret key
  • retrieving a JSON Web Key Set (JWKS) from a configured URL

During the login process if the user does not exist an account will be created with a matching role from the JWT.

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).

Active installations10+
Weekly downloads
19-24.00%
Version1.5.4
Last updated3/5/2025
WordPress version4.7
Tested up to6.7.2
PHP version7.0
Tags
authauthenticationjwtloginsso