DocsOEngageAuthentication System
Features

Authentication System

OEngageorravo.com/docs/oregister/authentication

Custom Auth Pages

OEngage provides four custom WordPress pages (created on activation):

PageSlugShortcode
Login/login[oregister_login]
Register/register[oregister_register]
Forgot Password/forgot-password[oregister_forgot]
Reset Password/reset-password[oregister_reset]

Set these pages in Settings → Pages. All WP login redirects are intercepted and point to these pages instead.

Social Login

Configure providers in Settings → Social Login.

ProviderRequired credentials
GoogleClient ID + Client Secret (Google Cloud Console)
AppleService ID + Team ID + Key ID + .p8 private key
GitHubClient ID + Client Secret (GitHub OAuth App)
LinkedInClient ID + Client Secret (LinkedIn App)

OAuth redirect URI for all providers: https://yoursite.com/wp-json/oregister/v1/social/callback/{provider}

Social accounts are linked to existing WP users by email match, or a new user is auto-created if registration is enabled.

Magic Link Login

POST /wp-json/oregister/v1/auth/magic-link
{ "email": "user@example.com" }

Sends a single-use, 15-minute token via email. User clicks the link, the token is validated, and a WP session is created. Tokens are stored in wp_oregister_magic_tokens.

Brute Force Protection

  • Default: 5 failed logins per IP in 10 minutes → 30-minute lockout
  • Configurable in Settings → Security
  • IP exceptions can be whitelisted in Settings
Authentication System — OEngage Docs — Orravo