# Authentication and User Management ## Google OAuth Flow Google -> Portal -> Users table Fields: - email - display_name - avatar_url - provider_subject - auth_provider - last_login_at ## User Creation First user: - admin Additional users: - viewer ## AUTH_MODE google - Google only mixed - Google + local fallback local - Local login only