aws-amplify / aws-amplify/amplify-ui

Authenticator with only social sign in (hide regular sign in fields)

Open
#5,290 3 comments 7 reactions 0 assignees View on GitHub
Authenticator feature-request
Dominant language
TypeScript
Stars
1.1k
Forks
347
Avg merge
18h 29m
Merged PRs (30d)
9

Description

I cannot find a way to show only a google sign in button without showing anything else.
`socialProviders={["google"]` makes the google button show up. but I can't see a way to hide any of the other fields(The user name and password fields for regular sign in). Is there a way please? If not I would like to request this feature please.

Contributor guide

Open the contributing guide

Research direction

Start at the Authenticator component and trace how the socialProviders={["google"]} option controls the sign-in fields. Confirm the expected behavior for a Google-only sign-in, then add coverage for hiding regular username and password fields while retaining the Google button.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, react, typescript
Domain
authentication, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.