feat: pass role, agent type, and auth mode to social login providers and repository

This commit is contained in:
pradeepkumar
2026-03-31 22:45:16 +05:30
parent c2c1b51777
commit 26611274d5
5 changed files with 65 additions and 11 deletions

View File

@@ -240,8 +240,8 @@ class _LoginScreenState extends ConsumerState<LoginScreen> {
const OrDivider(),
const SizedBox(height: 24),
// Social login buttons
const SocialLoginButtons(),
// Social login buttons (login mode — reject if user doesn't exist)
const SocialLoginButtons(mode: 'login'),
const SizedBox(height: 40),
],
),