A portal is either a massive win or a massive waste of time depending on whether your business model actually justifies it. This module covers the decision criteria, the OAuth implementation, and the two features that drove 34% adoption in 30 days.
Era 3 also included the customer portal — OAuth login with Google, Apple, and Microsoft; a consignor view showing real-time unit status and inquiry counts; and signed time-limited document download links that replaced email attachments. The portal shipped minimum-feature-set: two high-value use cases, nothing else.
wp_insert_user() with a restricted custom role, email-matching across providers, linking portal users to their CRM lead record, and Apple's first-login-only name behavior.hash_equals() for constant-time signature comparison, customer-side upload handler, and why email attachments are the wrong document delivery tool.