WebPlatform Social Login adds secure social sign-in buttons to WordPress.
Features:
- Verifies Google ID token signatures using Google's published public keys.
- Supports Facebook OAuth, LinkedIn OpenID Connect and Microsoft OpenID Connect.
- Supports Sign in with Apple, including dynamic ES256 client assertions.
- Validates token audience, issuer, expiry, email verification and nonce.
- Protects login requests with short-lived, HttpOnly state cookies.
- Encrypts provider secrets and Apple private keys at rest using WordPress authentication salts.
- Connects existing users by verified email.
- Optionally creates new WordPress users.
- Displays on WooCommerce login and registration forms.
- Displays on standard WordPress login and registration forms.
- Optionally offers Google One Tap to logged-out visitors using the Google account active in their browser.
- Includes
[webplatform_social_login] for custom pages.
- Supports local post-login redirects and optional email-domain restrictions.
- Integrates with WordPress personal-data export and erasure tools.
No Google Client Secret is stored or required. Other providers require their standard application credentials.
- Upload the
webplatform-social-login folder to /wp-content/plugins/.
- Activate WebPlatform Social Login.
- In Google Cloud, create an OAuth 2.0 Client ID of type Web application.
- Add your HTTPS website origin under Authorized JavaScript origins.
- Open Settings > WebPlatform Social Login and enter the Client ID.
- Add
[webplatform_social_login] to any custom login page, or enable WooCommerce placement.
For another provider, create its web application, copy the exact callback URL displayed in the plugin settings, enter the credentials, and enable the provider.
The settings screen includes step-by-step examples for every provider, including the current site's exact origin, domain, callback URLs, required products and requested scopes.