Hoppa till innehåll
  • Om WordPress
    • Om WordPress
    • WordPress.org
    • Dokumentation
    • Support
    • Feedback
  • Logga in
  • Registrera
WordPress.org
WordPress.org

Svenska

  • Teman
  • Tillägg
  • Nytt
  • Support
  • Om...
  • Mönster
  • Engagera dig!
  • Skaffa WordPress
Skaffa WordPress

Tillägg

  • Mina favoriter
  • Betatestning
  • Utvecklare
Ladda ner

Auto Login with Cloudflare

Av Kan-Ru Chen
  • Detaljer
  • Recensioner
  • Support
  • Utveckling

Beskrivning

Enable Cloudflare Access self-hosted application to protect your /wp-admin folder. Add your auth domain and aud settings from Cloudflare Access. Authenticated user will be automatically logined to WordPress if their email address matches.

Follow Cloudflare document to setup Access.

You can also define configs in wp-config.php

define('WP_CF_ACCESS_AUTH_DOMAIN', 'yourdomain.cloudflareaccess.com');
define('WP_CF_ACCESS_JWT_AUD', 'examplef2nat0rkar2866wn829a0x2ztdg');
define('WP_CF_ACCESS_REDIRECT_LOGIN', true);

This plugin is not affiliated with nor developed by Cloudflare. All trademarks, service marks and company names are the property of their respective owners.

Skärmdumpar

  • Settings

Vanliga frågor

How do I redirect the WP login page at `/wp-login.php` to Cloudflare Access?

Enable the ”Redirect login page” option and all future logins will be redirected to /wp-admin and trigger Access authentication.

Why do I get infinite redirect loop after enabling the redirect login page option?

The option assumes that /wp-admin folder is protected by Cloudflare Access. If the folder is not protected, then auto-login will fail and redirect back to the login page, causing the redirect loop.

Recensioner

I love this! Thank you!

cristianuibar 31 januari 2022
Clean, simple, and precisely what it promises. I just configured my complete setup using Cloudflare Access with auth via AzureAD and auto-login to wp-admin. This plugin is gold! Combined with the Authenticated Origin Pulls feature of CF, this is seamlessly intertwined enterprise-level security for free.

Great Auth plugin

Alex Lion 31 juli 2021
I am testing this plugin, I think Jetpack's secure login feature can be replaced with this plugin, this means I can remove Jetpack after my testing is done. Good job, thank you so much.

Thank you

N 20 mars 2021
I was close in developing this from scratch. and I was surprised this plugin is already developed. Please keep it up.
Läs alla 3 betyg

Bidragsgivare och utvecklare

”Auto Login with Cloudflare” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer
  • kanru

”Auto Login with Cloudflare” har översatts till 1 språk. Tack till översättarna för deras bidrag.

Översätt ”Auto Login with Cloudflare” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

1.1.2

  • Tested with WordPress 5.9
  • Fixed errors when activated in multi-site enabled installation

1.1.1

  • Show an error message when user does not exist to prevent redirect loop

1.0.0

  • Tested with WordPress 5.8
  • Update php-jwt to 5.4
  • Stable. No major change planned

0.9.3

  • Tested with WordPress 5.7

0.9.2

  • update minimum requirements
  • update php-jwt to 5.2.1

0.9.0

  • First beta release.

Meta

  • Version: 1.1.2
  • Senast uppdaterat: 6 månader sedan
  • Aktiva installationer: 50+
  • WordPress-version: 5.0 eller senare
  • Testat upp till: 5.9.3
  • PHP-version: 5.3 eller senare
  • Språk:

    Chinese (Taiwan) och English (US).

    Översätt till ditt språk

  • Taggar:
    cloudflarejwtlogin
  • Avancerad vy

Betyg

Se alla
  • 5 stjärnor 3
  • 4 stjärnor 0
  • 3 stjärnor 0
  • 2 stjärnor 0
  • 1 stjärna 0
Logga in för att skicka in en recension.

Bidragande personer

  • kanru

Support

Antal lösta problem under de senaste två månaderna:

0 av 1

Visa supportforum

Donera

Skulle du vilja bidra till utvecklingen av detta tillägg?

Donera till det här tillägget

  • Om
  • Nyheter
  • Webbhotell (hosting)
  • Donera
  • Support
  • Utvecklare
  • Engagera dig
  • Lär dig
  • Showcase
  • Tillägg
  • Teman
  • Mönster
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Integritet
  • Offentlig kod
WordPress.org
WordPress.org

Svenska

  • Besök vår Facebook-sida
  • Besök vårt Twitter-konto
Kod är poesi.