flutter-auth-ui icon indicating copy to clipboard operation
flutter-auth-ui copied to clipboard

Support for displaying sign-in or sign-up initially

Open kowalgregy opened this issue 1 year ago • 2 comments

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.

kowalgregy avatar Jul 10 '24 18:07 kowalgregy

Thanks for the PR. I love it! Just had one little thing.

Sure, definitely!

kowalgregy avatar Jul 11 '24 08:07 kowalgregy

Would you be able to update the variable name on other places that it's used as well?

dshukertjr avatar Jul 12 '24 02:07 dshukertjr

Closing in favor of https://github.com/supabase-community/flutter-auth-ui/pull/116

dshukertjr avatar Oct 04 '24 02:10 dshukertjr