Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(auth): passwordless #14032

Merged
merged 27 commits into from
Nov 23, 2024
Merged

feat(auth): passwordless #14032

merged 27 commits into from
Nov 23, 2024

Conversation

jjarvisp
Copy link
Member

@jjarvisp jjarvisp commented Nov 22, 2024

Description of changes

The purpose of this pull request is to add support for passwordless sign in / sign up functionality.

Test Run: https://github.com/aws-amplify/amplify-js/actions/runs/11980650141?pr=14032

Issue #, if available

Description of how you validated changes

  • manual testing
  • unit testing
  • integration testing

Checklist

  • PR description included
  • yarn test passes
  • Unit Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

Checklist for repo maintainers

  • Verify E2E tests for existing workflows are working as expected or add E2E tests for newly added workflows
  • New source file paths included in this PR have been added to CODEOWNERS, if appropriate

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

jjarvisp and others added 24 commits November 1, 2024 16:07
* refactor to support new APIs

* bundle size updates
* update exception mapping

* update passkey error handling

* update tests

* bundle size tests

* simplify language

* refine error messages
* fix(auth): clear auto sign in store on sign in

* add unit test
* enable ssr list and delete web authn credentials

* update unit tests

* add foundation tests

* revert: expose server APIs
* enable test specs / push trigger

* check for PublicKeyCredential

* bundle size tests

* fix recovery suggestion language

* align assertion with expected type

* fix tsdocs
* callout in ts docs for password requirement

* unify callback and store reset for autosignin

* comment for clarity
@jjarvisp jjarvisp requested a review from a team as a code owner November 22, 2024 18:21
Copy link

⚠️ This PR includes changes to the "aws-amplify" package.json file, which can have library-wide implications.

Please ensure that this PR:

  • Does not manually change "@aws-amplify/*" dependency versions, which may misalign core dependencies across the library
  • Remove any export paths without a major version bump

A repository administrator is required to review this change.

@jjarvisp jjarvisp requested a review from ashika112 November 23, 2024 00:15
HuiSF
HuiSF previously approved these changes Nov 23, 2024
Copy link
Member

@HuiSF HuiSF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great effort, thanks!

@ashika112
Copy link
Member

Great work everyone! Thanks

@jjarvisp jjarvisp merged commit 68c7f6f into main Nov 23, 2024
30 checks passed
@jjarvisp jjarvisp deleted the feat/passwordless branch November 23, 2024 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants