r/WordpressPlugins • • 1h ago

Freemium [FREEMIUM] Faable Auth: replace wp-login.php with OpenID Connect sign-in, WordPress roles synced from your identity provider (dev here)

Hi, I'm Marc, one of the people behind Faable. Our WordPress plugin, Faable Auth, was just approved in the WordPress.org directory, so I'm sharing it here.

What it does: the site becomes an OpenID Connect client of a Faable Auth tenant, and wp-login.php shows a "Log in with Faable" button instead of the password form.

  • Authorization code flow with PKCE. Once the site is connected, password logins, password resets, registration, XML-RPC auth and Application Passwords are turned off.
  • The WordPress role is re-read from the user's Faable Auth roles on every login. Remove the role and they lose access at their next login. If the roles can't be read, the login is refused rather than guessed.
  • Existing WordPress users are linked by email, but only if the email is verified.
  • Headless front-ends can call the REST API with machine-to-machine (client_credentials) tokens instead of Application Passwords.
  • Optional federated logout.
  • Emergency access: a break-glass constant in wp-config.php and one-time login links from WP-CLI (wp faable-auth login-link <user>).

To be upfront about the "freemium" tag: the plugin itself is free and GPL. It needs a Faable Auth account, which has a free plan, and there are paid plans. WordPress 6.4+ and PHP 8.1+, no Multisite yet.

Plugin: https://wordpress.org/plugins/faable-auth/ Setup guide: https://faable.com/docs/auth/integrations/wordpress Why it works this way (role re-sync, verified-email linking, emergency access): https://dev.to/boyander/replacing-wp-loginphp-with-openid-connect-six-things-that-are-easy-to-get-wrong-54d5

Feedback welcome, especially from anyone who has built or audited a WordPress SSO plugin.

1 Upvotes

0 comments sorted by