How to Pass Additional Parameters in SSO Login
Hi Team,
I'm currently working on a custom Sign In/Sign Up authentication flow using Google authentication. During sign-up, users need to check two checkboxes(refer to the screenshots), but this requirement doesn't apply during sign-in. I've implemented the logic and basic client side error handling in React, but I'm unsure about the following:
I need to ensure that new users have accepted both checkboxes before granting access to our application.
Is there a way to pass the checkbox click status as additional query parameters (nonces) to the /auth/google/login route in Wasp 0.13.0? Additionally, can I retrieve this status in defineUserSignupFields (inside the data param) to validate that new users have indeed checked the checkboxes during sign-up?
Alternatively, do you have any suggestions for a better approach to handle this situation?
Thank you for your assistance.
I'm currently working on a custom Sign In/Sign Up authentication flow using Google authentication. During sign-up, users need to check two checkboxes(refer to the screenshots), but this requirement doesn't apply during sign-in. I've implemented the logic and basic client side error handling in React, but I'm unsure about the following:
I need to ensure that new users have accepted both checkboxes before granting access to our application.
Is there a way to pass the checkbox click status as additional query parameters (nonces) to the /auth/google/login route in Wasp 0.13.0? Additionally, can I retrieve this status in defineUserSignupFields (inside the data param) to validate that new users have indeed checked the checkboxes during sign-up?
Alternatively, do you have any suggestions for a better approach to handle this situation?
Thank you for your assistance.

