aws-amplify / aws-amplify/amplify-cli
Passwordless Login
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 825
- Avg merge
- 11d 23h
- Merged PRs (30d)
- 2
Description
### Is this feature request related to a new or existing Amplify category?
auth
### Is this related to another service?
Lambda
### Describe the feature you'd like to request
I know it's possible to implement passwordless login with email or sms using a custom Cognito auth flow but I think this is something that should be a feature included in Amplify since it is included in its competitors (Firebase, Supabase, etc). Ideally, the cli would include options for,
- passwordless login with sms code
- passwordless login with email code
- passwordless login with magic email link
It would also be really nice to include UI for this login flow as well.
https://github.com/aws-amplify/amplify-cli/issues/7353
https://github.com/mobilequickie/amplify-passwordless-sms-auth
### Describe the solution you'd like
- Add CLI auth options to add the described features
- Add UI components for passwordless auth input and code verification
### Describe alternatives you've considered
Implementing it myself which works but is less than ideal when it comes out of the box with competitors.
### Additional context
_No response_
### Is this something that you'd be interested in working on?
- [x] 👋 I may be able to implement this feature request
- [ ] ⚠️ This feature might incur a breaking change
Contributor guide
Research direction
Start by reviewing the Amplify CLI auth category and the linked issue #7353, then compare the requested SMS code, email code, and magic-link flows with the existing Cognito custom-auth approach involving Lambda. Done means defining and implementing the CLI options plus UI components for passwordless input and code verification, with the supported flows and behavior documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, typescript
- Domain
- authentication, cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100