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

@@ -443,8 +443,12 @@ class _SignupScreenState extends ConsumerState<SignupScreen> {
const OrDivider(),
const SizedBox(height: 24),
// Social login buttons
const SocialLoginButtons(),
// Social login buttons (signup mode with role and agent type)
SocialLoginButtons(
mode: 'signup',
role: _selectedRole,
agentTypeId: _selectedAgentTypeId,
),
const SizedBox(height: 40),
],
);