Authentication Gate
Screen ID: AD-05
← Back to Admin Hub
Super Admin Sign-in & MFA Gate
Entry barrier for Super Admin operators (admin.punchcharlie.com/signin). Configures Supabase Browser OAuth providers (Google, Microsoft Azure, Apple), handling session callbacks and verifying authorized email entries in the super_admins database table.
OAuth Method
supabase.auth.signInWithOAuth
Providers
Google / Azure / Apple
Callback Route
/callback
Error Codes
not_authorized / auth_failed
Page Visual Switcher
switchers.underlineTabsSuper Admin Sign-in & Authentication Flow
Click to Zoom Fullscreen
graph LR
SignInPage[AD-05 Sign-in Screen] --> ChooseProvider{Select Provider: Google / Azure / Apple}
ChooseProvider --> OAuthRedirect[Supabase OAuth Redirect]
OAuthRedirect --> Callback[/callback Endpoint]
Callback --> WhitelistCheck{Email in super_admins Table?}
WhitelistCheck -->|Yes| Dashboard[Redirect to /dashboard]
WhitelistCheck -->|No| RedirectError[Redirect to /signin?error=unauthorized]