Export SocialSignInButtons
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
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.
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!
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
When can we expect the next release?
Hi @Poloten, we are working on getting a few features in, the next release should be out in the next 2 weeks roughly