Skip to content

Frontend Modes & Integrations

Account adapts to any ProcessWire frontend architecture through three progressive integration stages and optional sibling module integrations.

Switch between Inertia virtual views and Classic server-rendered HTML directly from Setup -> Account -> Settings.

With frontendMode = 'inertia', Account automatically intercepts virtual routes under /auth/* (login, register, magic, verify, forgot, reset, mfa, oauth/{slug}, oauth/{slug}/callback) and /account/* (overview, security, sessions, notifications, saved, billing, privacy) and renders its built-in Account/AuthScreen and Account/AccountScreen Inertia pages. Zero ProcessWire pages or templates are required.

Sibling integrations live strictly under src/Integration/<Module>/ and activate only when the target module is installed:

  • Headless (/api/v1/identity/*): Exposes member authentication, profile, saved items, inbox, and session endpoints as versioned JSON APIs with JWT/PAT/Session auth.
  • Media: Enriches PageSavedItemResolver thumbnails and allows selecting member avatars from the shared media library when allowLibrary is enabled.
  • Payments: Powers /account/billing with active subscriptions, invoices, saved payment sources, and customerPortalUrl() links. When a member requests a GDPR privacy_export, payment records are included under $result->data['archive']['payments']. When account.deleted fires, active subscriptions are canceled cleanly.

Next steps