Skip to content
Sign in

Auto Login for Cloudflare Access

Single sign-on for WordPress behind Cloudflare Access: users who passed Access are logged in automatically by email address.

Not scanned yet WordPress plugin

Install in

No install steps yet

Follow the steps on the source page.

Protect /wp-admin (or your whole site) with a Cloudflare Access self-hosted application. When a visitor has signed in through Access, this plugin verifies the Access token (JWT) that Cloudflare sends with every request and logs the visitor in to the WordPress account with the same email address.

  • No passwords: users sign in with any identity provider configured in Cloudflare Access.
  • Strict token validation: RS256 signature against Cloudflare’s published keys, expiry, audience (AUD) and issuer are all checked.
  • Handles Cloudflare’s signing key rotation automatically.
  • Optional redirect of wp-login.php to Cloudflare Access, and logout from Access when logging out of WordPress.
  • Built-in debug log on the settings page for troubleshooting.
  • Settings can be locked in wp-config.php.

Users are never created: the email address must already belong to a WordPress user.

This plugin is a fork of “Auto Login with Cloudflare” by Kan-Ru Chen, which is no longer available. When you activate this plugin, the settings of that plugin are copied over; deactivate and delete the old plugin afterwards.

This plugin is not affiliated with or endorsed by Cloudflare, Inc. Cloudflare and Cloudflare Access are trademarks of Cloudflare, Inc.

Development happens on GitHub.

External services

This plugin connects to Cloudflare Access, a service by Cloudflare, Inc., to verify that a visitor has signed in.

When a request carries a Cloudflare Access token, the plugin downloads the public signing keys of your Access team from https://<your auth domain>/cdn-cgi/access/certs. The keys are cached for up to one hour. Only this request is made; no visitor or site data is sent to Cloudflare by the plugin. Your site is already behind Cloudflare Access, which handles the sign-in itself.

  • Cloudflare Website and Online Services Terms of Use: https://www.cloudflare.com/website-terms/
  • Cloudflare Privacy Policy: https://www.cloudflare.com/privacypolicy/

Written by Joobi from the project's own listing. See the source page

cloudflare accessjwtloginssozero trust
30 Nov 2026
Version 1.0.1 released. Not scanned yet.

1.0.1

  • Maintenance: new plugin icon and automated release process. No functional changes.

1.0.0

  • First release in the WordPress.org directory, continuing “Auto Login with Cloudflare” by Kan-Ru Chen.
  • Settings of the original plugin are copied over on activation.
  • Strict Cloudflare Access token validation with firebase/php-jwt 7.2.2: RS256 signature, required expiry, audience, issuer and email.
  • Automatic handling of Cloudflare signing key rotation and outages.
  • Validated settings, debug log on the settings page, and full cleanup when the plugin is deleted.
30 Nov 2026Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)