
4WP Account is a membership-ready user account hub: user registration, a front-end user profile cabinet, email/password sign-in, and social network login (OAuth). Native Gutenberg blocks each have a matching shortcode. WooCommerce is optional.
A plugin by 4wp.dev. 4WP is our project brand; the letters “WP” appear only as part of that brand name, not as a reference to WordPress. This plugin is not affiliated with, endorsed by, or sponsored by WordPress.
Source code: github.com/4wpdev/4wp-account
wp-login.php — only when the chosen page already has a login block or shortcodeEnable providers under 4WP Account Auth / Register:
Buttons can use native brand colors and icons, a solid fill, or icon-only.
Every block has a shortcode equivalent:
forwp/account — [forwp_account] — account page (sign-in or cabinet)forwp/account-menu — [forwp_account_menu] — header user menuforwp/account-link — [forwp_account_link] — header/menu account linkforwp/auth-buttons — [forwp_account_signin_buttons] — social sign-in buttons[forwp_account_login provider="gmail"] — single provider button (shortcode only)Place them in the Site Editor or on a page. Sign-in methods are configured in Auth / Register. Appearance of the guest card is under Appearance. The account page is selected in Settings Pages.
/wp-json/forwp-account/v1/auth/{provider} and OAuth callbacks/wp-admin/OAuth tokens are exchanged server-side. Profile email and name from the provider are stored in WordPress user records. No data is sent to 4wp.dev.
Run tests: composer install && composer run lint && composer run test
This plugin connects to third-party OAuth providers when a visitor starts social login and when an administrator saves API credentials.