amplify-flutter icon indicating copy to clipboard operation
amplify-flutter copied to clipboard

Export SocialSignInButtons

Open pixnbit opened this issue 2 years ago • 5 comments

Description

I have a custom onboarding flow where we first ask if the ues has a account with us. On the sign up page I would like to have the social sign in buttons. Technically they would do the same thing as the ones in the sign in page. But we feel have them only in the sign in page might confuse some users (they want to sign up but not with email/password). This is what did in the authenticationBuilder:

              case AuthenticatorStep.signUp:
                return CustomScaffold(
                  state: state,
                  body: Column(
                    children: [
                      SignUpForm(),
                      SizedBox(height: 24),
                      Divider(height: 1,),
                      SizedBox(height: 24),
                      SocialSignInButtons(
                        providers: [
                          AuthProvider.apple,
                          AuthProvider.google,
                          AuthProvider.facebook,
                        ],
                      ),
                    ],

But I had to export export 'src/widgets/social/social_button.dart'; in amplify_authenticator.dart. Any chance social button can be exported in your future release?

Categories

  • [ ] Analytics
  • [ ] API (REST)
  • [ ] API (GraphQL)
  • [ ] Auth
  • [X] Authenticator
  • [ ] DataStore
  • [ ] Notifications (Push)
  • [ ] Storage

Steps to Reproduce

No response

Screenshots

No response

Platforms

  • [X] iOS
  • [X] Android
  • [X] Web
  • [X] macOS
  • [ ] Windows
  • [ ] Linux

Flutter Version

3.3

Amplify Flutter Version

1.3.3

Deployment Method

Amplify CLI

Schema

No response

pixnbit avatar Aug 03 '23 15:08 pixnbit

Hi @pixnbit - This is a pretty reasonable request. We want to re-visit the API to see if any changes should be made before exposing it publicly, but this is something we will likely do. We will provide updates here as we work on it.

Jordan-Nelson avatar Aug 03 '23 18:08 Jordan-Nelson

Hello +1 for this issue, I'm looking to add the social buttons on the sign up page but doesn't seem possible at the moment!

adamtester avatar Jan 08 '25 23:01 adamtester

Hello @adamtester, thank you for the +1, it helps us keep track of interest on requests like this! We will take a look at the API and aim to expose the buttons in the next release.

edit: currently you could work around this by exporting the social buttons like the initial issue description

ekjotmultani avatar Jan 09 '25 20:01 ekjotmultani

When can we expect the next release?

Poloten avatar Sep 15 '25 12:09 Poloten

Hi @Poloten, we are working on getting a few features in, the next release should be out in the next 2 weeks roughly

ekjotmultani avatar Sep 15 '25 19:09 ekjotmultani