User Account Hub

4WP Account

Social sign-in with Google and GitHub, a front-end account cabinet, and a header dropdown menu — built for courses, orders, and saved items.

OAuth 2.0

Google & GitHub

Gutenberg Blocks

WooCommerce

What it does

OAuth sign-in, front-end account pages, and header blocks — without a heavy membership plugin

Social Sign-In

Google and GitHub OAuth 2.0 — enable per provider in wp-admin. Server-side token exchange; subscriber accounts created from provider email on first login.

Account Cabinet

or the Account block — sign-in form for guests; left-menu cabinet for logged-in users (Dashboard, Favorites, Notifications, custom sections).

Header Menu Block

Account Menu block — user icon dropdown in the site header with account sections, custom links, and log out. Powers the 4wp.dev header experience.

Gutenberg blocks

Four blocks and matching shortcodes — compose sign-in, account pages, and header navigation

  • 4WP Account (forwp/account) — sign-in for guests or account cabinet with left menu
  • 4WP Account Menu (forwp/account-menu) — header dropdown with sections and log out
  • 4WP Sign-in Buttons (forwp/auth-buttons) — standalone Google/GitHub buttons
  • 4WP Account Link (forwp/account-link) — header link with user icon for guests or account page

How to set up

  1. Activate 4WP Account and open 4WP Account → Auth.
  2. Enable Google and/or GitHub — paste OAuth credentials and copy Redirect URIs into provider settings.
  3. Create an account page with the Account block or .
  4. Add the Account Menu block to your header template.
  5. Optional: enable social buttons on WooCommerce My Account login/register forms.

Summary

Use your Google account to access courses, orders, and saved items — exactly how 4wp.dev runs member features today. OAuth tokens are exchanged server-side; profile data stays in your WordPress database. No data is sent to 4wp.dev.

Version 1.0.4 · WordPress 6.4+ · PHP 8.0+ · GPL v2+

Ready to get started?

Install from WordPress.org or browse the source on GitHub.