DocsOEngage8. Authentication System
Reference

8. Authentication System

OEngageorravo.com/docs/oengage/8-authentication-system

Login Flow

  1. User submits email + password via AJAX (or_login action)
  2. BruteForce::is_locked() checks for too many recent attempts
  3. wp_authenticate() verifies credentials
  4. If 2FA is enabled for the user, a pending token is returned and the 2FA form shows
  5. On success: wp_set_auth_cookie(), session created, XP awarded for daily login, streak recorded

AJAX Actions

ActionHandlerAuth
or_loginAuthHandler::ajax_loginnopriv
or_forgot_passwordAuthHandler::ajax_forgot_passwordnopriv
or_reset_passwordAuthHandler::ajax_reset_passwordnopriv
or_logout_sessionAuthHandler::ajax_logout_sessionlogged-in

8. Authentication System — OEngage Docs — Orravo