enabled and want users to choose a username before signing up with OAuth.
Here’s the flow I’m aiming for: 1. User clicks "Sign in with Google" 2. A dialog appears before redirecting to Google, asking for: A username Agreement to Terms of Service, etc.
After submission: - If the user already exists → proceed to sign in via Google - If the user doesn't exist → store the username and proceed to Google - After Google redirects back → create the account using the previously provided username
Note: I’m aware I can do this after with
newUserCallbackUrl = "/complete-signup"
newUserCallbackUrl = "/complete-signup"
,but I want this step to happen before the Google sign-in redirect. Is this possible?