
Authenticated Access, Registration & 7-Role Persona Gateway
Unified bilingual authentication gateway supporting credential sign-in, new organization registration, account recovery, and role-scoped session routing.
📌1. Executive Purpose & Role in Platform
Secures access across Exportica’s public, buyer, exporter, logistics, and governance portals with session-backed authentication, organization context binding, and rapid role-persona evaluation in development/review environments.
🧭2. Annotated Screen Architecture Blueprint
1Sign-In vs. Organization Sign-Up Mode Switcher
Clean toggle supporting `?mode=signup` directly from header CTAs.
2Credential Form, Recovery & Validation Feedback
Clear RFC-9457 error reporting without leaking sensitive account existence details.
3Organization Type & Trade Intent Onboarding Fields
Captures company name, operating country, and initial journey interest.
47-Role Operational Persona Matrix & Portal Redirects
Routes Buyers to Sourcing, Exporters to Storefront Studio, and Auditors to Accreditation.
⚙️3. Detailed Inside-Page Capabilities
1Sign-In vs. Organization Sign-Up Mode Switcher
Dual Auth FlowClean toggle supporting `?mode=signup` directly from header CTAs.
2Credential Form, Recovery & Validation Feedback
Zero-Leak AuthClear RFC-9457 error reporting without leaking sensitive account existence details.
3Organization Type & Trade Intent Onboarding Fields
Fast OnboardingCaptures company name, operating country, and initial journey interest.
47-Role Operational Persona Matrix & Portal Redirects
Smart RedirectRoutes Buyers to Sourcing, Exporters to Storefront Studio, and Auditors to Accreditation.
🔄4. End-to-End Execution Workflow
Opens /auth/{locale}/login (or ?mode=signup for new companies)
→ Localized auth screen
Verifies credentials, creates AuthenticationSession, and loads memberships
→ Authenticated org context
Redirects user to their target portal or requested return URL
→ Ready workspace
🛡️ 5. Sovereign Guardrails & Security
- Passwords and session secrets are never logged, echoed, or stored in plaintext.
- Initial signup selection never locks an account out of other permitted transaction roles.
🚀 6. Quick Start & Connected Routes
- Click Sign in or Sign up in the top utility bar.
- Authenticate with your corporate credentials or register a new organization.
- Access your role-aligned workbenches immediately.