Supported Providers
| Provider | Status | Notes |
|---|---|---|
| ✅ | OAuth 2.0 via accounts.google.com | |
| GitHub | ✅ | OAuth 2.0 via github.com |
| ✅ | OAuth 2.0 via linkedin.com | |
| Apple | ⚙️ Configurable | Requires ES256 JWT — configure private key in settings |
Configuration (Google example)
- Create OAuth credentials at https://console.cloud.google.com/
- Authorized redirect URI:
https://yoursite.com/?or_oauth_callback=google - Enter Client ID + Secret in ORegister → Settings → Social Authentication
Edge Case: Email already exists
If the email from a social provider already exists as a WordPress user, ORegister:
- Logs in that user automatically (no error)
- Stores the provider's user ID in user meta (
or_social_google, etc.) - Sends a "Social login added" notification email
OAuth Callback URL format
https://yoursite.com/?or_oauth_callback={provider}
Where {provider} is google, github, or linkedin.
