We added a parameter to control whether sign up for or sign-in form is being displayed initially.
Additional context
From the business perspective, depending on the UX flow, you should be able to present either login or sign-up. For example, a page with CTA "try for free, no credit card required" should redirect to a sign-up form, not a login form that requires one additional unnecessary step from the user.
What kind of change does this PR introduce?
feature
What is the current behavior?
We always display the login form by default
What is the new behavior?
We added a parameter to control whether sign up for or sign-in form is being displayed initially.
Additional context
From the business perspective, depending on the UX flow, you should be able to present either login or sign-up. For example, a page with CTA "try for free, no credit card required" should redirect to a sign-up form, not a login form that requires one additional unnecessary step from the user.
https://github.com/supabase-community/flutter-auth-ui/pull/107