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

Add passwordless #8127

Merged
merged 17 commits into from
Nov 26, 2024
Merged

Add passwordless #8127

merged 17 commits into from
Nov 26, 2024

Conversation

josefaidt
Copy link
Contributor

Description of changes:

Related GitHub issue #, if available:

Instructions

If this PR should not be merged upon approval for any reason, please submit as a DRAFT

Which product(s) are affected by this PR (if applicable)?

  • amplify-cli
  • amplify-ui
  • amplify-studio
  • amplify-hosting
  • amplify-libraries

Which platform(s) are affected by this PR (if applicable)?

  • JS
  • Swift
  • Android
  • Flutter
  • React Native

Please add the product(s)/platform(s) affected to the PR title

Checks

  • Does this PR conform to the styleguide?

  • Does this PR include filetypes other than markdown or images? Please add or update unit tests accordingly.

  • Are any files being deleted with this PR? If so, have the needed redirects been created?

  • Are all links in MDX files using the MDX link syntax rather than HTML link syntax?

    ref: MDX: [link](https://docs.amplify.aws/)
    HTML: <a href="https://docs.amplify.aws/">link</a>

When this PR is ready to merge, please check the box below

  • Ready to merge

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


</InlineFilter>

### WebAuthn Passkeys
Copy link
Member

Choose a reason for hiding this comment

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

Should be able to remove this information as it's not possible to sign-up via passkey - passkeys can only be registered after creating an account and signing in with one of the other methods.

@@ -544,3 +544,6 @@ cfnUserPool.policies = {
},
};
```

## Add passwords to passwordless users
Copy link
Member

Choose a reason for hiding this comment

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

We are removing this page for the time being.

scanlonp and others added 3 commits November 26, 2024 13:28
* chore(auth): add js passwordless changes

* chore(auth): add filters and a react-native callout; code spacing

* chore(auth): add sign in updates

* Update src/pages/[platform]/build-a-backend/auth/manage-users/manage-webauthn-credentials/index.mdx

Co-authored-by: James Jarvis <jjarvisp@amazon.com>

* chore(auth): add associate api to the manage webauthn page

* Update src/pages/[platform]/build-a-backend/auth/connect-your-frontend/sign-in/index.mdx

Co-authored-by: josef <josef.aidt@gmail.com>

* chore(auth): use string literals

* chore(auth): add signin next step types

* add js sign up examples

* chore(auth): improve wording

* chore(auth): add first factor selection to confirm sign-in next steps

* Update src/pages/[platform]/build-a-backend/auth/connect-your-frontend/sign-in/index.mdx

Co-authored-by: James Jarvis <jjarvisp@amazon.com>

* Update src/pages/[platform]/build-a-backend/auth/connect-your-frontend/sign-in/index.mdx

Co-authored-by: James Jarvis <jjarvisp@amazon.com>

* chore(auth): review feedback - formatting and wording

* chore(auth): move user auth flow info into switching flows page

---------

Co-authored-by: James Jarvis <jjarvisp@amazon.com>
Co-authored-by: josef <josef.aidt@gmail.com>
@josefaidt josefaidt marked this pull request as ready for review November 26, 2024 22:46
@josefaidt josefaidt requested review from a team as code owners November 26, 2024 22:46
Copy link
Contributor

@dbanksdesign dbanksdesign left a comment

Choose a reason for hiding this comment

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

Just make sure to go back and fill in the empty spots

- [WebAuthn passkey](#webauthn-passkey)

Passwordless authentication removes the security risks and user friction associated with traditional passwords.
{/* add more color */}
Copy link
Contributor

Choose a reason for hiding this comment

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

?


</Callout>

{/* need a section about what a "preferred" factor is */}
Copy link
Contributor

Choose a reason for hiding this comment

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

?

{/* quick blurb of basic usage */}
<InlineFilter filters={["angular", "javascript", "nextjs", "react", "react-native", "vue"]}>

{/* */}
Copy link
Contributor

Choose a reason for hiding this comment

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

?

@josefaidt josefaidt enabled auto-merge (squash) November 26, 2024 23:54
@josefaidt josefaidt merged commit c863841 into main Nov 26, 2024
12 checks passed
@josefaidt josefaidt deleted the add-passwordless branch November 26, 2024 23:55
josefaidt added a commit that referenced this pull request Feb 13, 2025
* add info that retaining resources is not supported in sandbox (#8100)

* add info that retaining resources is not supported in sandbox

* update wording to be specific to sandbox delete ignoring removal policies

* chore: pin cross spawn to 7.0.6 (#8107)

* fix: update custom tool example (#8109)

* update conversation > tools page with more information / examples (#8113)

* Add AI kit > generation > data-extraction example (#8108)

* Adding AIConversation docs (#8116)

* Adding AIConversation docs

* fixing build error

* Update src/pages/[platform]/ai/conversation/ai-conversation/index.mdx

Co-authored-by: dindjarinjs <187552781+dindjarinjs@users.noreply.github.com>

* Update src/pages/[platform]/ai/conversation/ai-conversation/index.mdx

Co-authored-by: Ian Saultz <52051793+atierian@users.noreply.github.com>

* Update src/pages/[platform]/ai/conversation/ai-conversation/index.mdx

Co-authored-by: Ian Saultz <52051793+atierian@users.noreply.github.com>

* Update src/pages/[platform]/ai/conversation/ai-conversation/index.mdx

Co-authored-by: Ian Saultz <52051793+atierian@users.noreply.github.com>

* Update src/pages/[platform]/ai/conversation/ai-conversation/index.mdx

Co-authored-by: Ian Saultz <52051793+atierian@users.noreply.github.com>

* Update src/pages/[platform]/ai/conversation/ai-conversation/index.mdx

Co-authored-by: Ian Saultz <52051793+atierian@users.noreply.github.com>

* Update src/pages/[platform]/ai/conversation/ai-conversation/index.mdx

Co-authored-by: Ian Saultz <52051793+atierian@users.noreply.github.com>

* updats

* chore: bump ui-react lib

---------

Co-authored-by: dindjarinjs <187552781+dindjarinjs@users.noreply.github.com>
Co-authored-by: Ian Saultz <52051793+atierian@users.noreply.github.com>

* Update docs to use Claude 3.5 Haiku (#8124)


Co-authored-by: josef <josef.aidt@gmail.com>

* add conversations > connect your frontend page with client examples (#8119)

* Add passwordless (#8127)

* initial ia

* concept boilerplate

* add code snippet placeholders, cross links, warning for backend support

* chore(auth): add swift passwordless sign up/auto sign in changes (#8128)

* Apply suggestions from code review

* rm comments, stale sections

* chore: add new steps and new flow type

* chore(auth): add swift passwordless sign in/web authn changes (#8131)

* chore(auth): add swift passwordless sign in/web authn changes

* removed unused section

* remove flutter blocks

* fix spelling

* chore(auth): update swift passwordless autosignin Combine snippets (#8132)

* chore(auth): add js passwordless changes (#8129)

* chore(auth): add js passwordless changes

* chore(auth): add filters and a react-native callout; code spacing

* chore(auth): add sign in updates

* Update src/pages/[platform]/build-a-backend/auth/manage-users/manage-webauthn-credentials/index.mdx

Co-authored-by: James Jarvis <jjarvisp@amazon.com>

* chore(auth): add associate api to the manage webauthn page

* Update src/pages/[platform]/build-a-backend/auth/connect-your-frontend/sign-in/index.mdx

Co-authored-by: josef <josef.aidt@gmail.com>

* chore(auth): use string literals

* chore(auth): add signin next step types

* add js sign up examples

* chore(auth): improve wording

* chore(auth): add first factor selection to confirm sign-in next steps

* Update src/pages/[platform]/build-a-backend/auth/connect-your-frontend/sign-in/index.mdx

Co-authored-by: James Jarvis <jjarvisp@amazon.com>

* Update src/pages/[platform]/build-a-backend/auth/connect-your-frontend/sign-in/index.mdx

Co-authored-by: James Jarvis <jjarvisp@amazon.com>

* chore(auth): review feedback - formatting and wording

* chore(auth): move user auth flow info into switching flows page

---------

Co-authored-by: James Jarvis <jjarvisp@amazon.com>
Co-authored-by: josef <josef.aidt@gmail.com>

* resolve structural issues

* fix extra closing tag

* filter passwordless blocks

* Update src/pages/[platform]/build-a-backend/auth/concepts/passwordless/index.mdx

* revert auth flow order change

* update user auth flow description

---------

Co-authored-by: Abhash Kumar Singh <thisisabhash@gmail.com>
Co-authored-by: Harsh <6162866+harsh62@users.noreply.github.com>
Co-authored-by: Parker Scanlon <69879391+scanlonp@users.noreply.github.com>
Co-authored-by: James Jarvis <jjarvisp@amazon.com>

* fix: update Next.js pages link to latest ver (#8126)

* docs(js): more passwordless sign in examples (#8135)

* more sign in examples

* Apply suggestions from code review

Co-authored-by: josef <josef.aidt@gmail.com>

* fix typo

---------

Co-authored-by: josef <josef.aidt@gmail.com>

* update nextjs AI generate sample (#8143)

* Update passwordless docs with Android examples (#8139)

* Add initial android sign in doc updates

* Add sign in with preferred challenge

* Finish adding the non-webauthn sign in docs

* Add passwordless sign in docs into the multi-step-sign-in page

* Update manage-webauthn-credentials/index.mdx for android

* Add callingActivity to associateWebAuthnCredential examples

* Bring android sign-in docs to parity

* Add Android docs for switching authentication flows

* Add USER_AUTH password to the sign in docs

* Update sign up docs

* Add Android's WebAuthn details to `connect-your-frontend/sign-in/index.mdx`

* Fix some small issues and update multi-step sign in

* Add first factor selection section for android after merge

* Update src/pages/[platform]/build-a-backend/auth/connect-your-frontend/multi-step-sign-in/index.mdx

Co-authored-by: josef <josef.aidt@gmail.com>

* Update src/pages/[platform]/build-a-backend/auth/connect-your-frontend/multi-step-sign-in/index.mdx

Co-authored-by: josef <josef.aidt@gmail.com>

* Apply suggestions from code review

Co-authored-by: josef <josef.aidt@gmail.com>

* Replace usages of username with email

* Update src/pages/[platform]/build-a-backend/auth/connect-your-frontend/sign-in/index.mdx

Co-authored-by: James Jarvis <jjarvisp@amazon.com>

* Update index.mdx

---------

Co-authored-by: Matt Creaser <mattwcc@amazon.com>
Co-authored-by: josef <josef.aidt@gmail.com>
Co-authored-by: James Jarvis <jjarvisp@amazon.com>

* docs(js): add durability options (#8133)

* docs(js): add durability options

* chore: add copy example for expected bucket owner

* Q workspace command (#8147)

* Q workspace command

* Update src/pages/[platform]/build-a-backend/q-developer/index.mdx

Co-authored-by: Arundeep Nagaraj <84913786+arundna@users.noreply.github.com>

* Update src/pages/[platform]/build-a-backend/q-developer/index.mdx

Co-authored-by: Arundeep Nagaraj <84913786+arundna@users.noreply.github.com>

* Update src/pages/[platform]/build-a-backend/q-developer/index.mdx

Co-authored-by: Arundeep Nagaraj <84913786+arundna@users.noreply.github.com>

* Update src/pages/[platform]/build-a-backend/q-developer/index.mdx

Co-authored-by: Arundeep Nagaraj <84913786+arundna@users.noreply.github.com>

* closing tag

* Update src/pages/[platform]/build-a-backend/q-developer/index.mdx

Co-authored-by: James Jarvis <jjarvisp@amazon.com>

---------

Co-authored-by: Arundeep Nagaraj <84913786+arundna@users.noreply.github.com>
Co-authored-by: James Jarvis <jjarvisp@amazon.com>

* ai kit: add table for supported models and add nova (#8148)

* fix code snippet (#8146)

* docs(js): expand passwordless examples for multistep sign in, autosign in, and switching flows (#8138)

* add additional detail to switching auth flows page

* expand autosignin examples

* clarify language

* fix wording

* add passwordless steps to multistep sign in page

* tweak language

* Update src/pages/[platform]/build-a-backend/auth/connect-your-frontend/switching-authentication-flows/index.mdx

Co-authored-by: Parker Scanlon <69879391+scanlonp@users.noreply.github.com>

---------

Co-authored-by: Parker Scanlon <69879391+scanlonp@users.noreply.github.com>

* adds resourceGroupName to function docs (#8140)

* add resourceGroupName

* feat: add instructions for adding event api to backend (#8155)

* feat: add instructions for adding event api to backend

* Apply suggestions from code review

Co-authored-by: josef <josef.aidt@gmail.com>

---------

Co-authored-by: josef <josef.aidt@gmail.com>

* feat: Fix examples to use lambda data client (#8096)

* feat: Fix examples to use lambda data client

* fix: Schema import pattern

* Update src/pages/[platform]/build-a-backend/data/customize-authz/grant-lambda-function-access-to-api/index.mdx

Co-authored-by: josef <josef.aidt@gmail.com>

* Add warning after data client handler examples

* Update src/pages/[platform]/build-a-backend/data/customize-authz/grant-lambda-function-access-to-api/index.mdx

Co-authored-by: josef <josef.aidt@gmail.com>

* Update src/pages/[platform]/build-a-backend/data/customize-authz/grant-lambda-function-access-to-api/index.mdx

Co-authored-by: josef <josef.aidt@gmail.com>

* Update src/pages/[platform]/build-a-backend/data/customize-authz/grant-lambda-function-access-to-api/index.mdx

Co-authored-by: josef <josef.aidt@gmail.com>

* Apply suggestions from code review

Co-authored-by: josef <josef.aidt@gmail.com>

---------

Co-authored-by: josef <josef.aidt@gmail.com>

* docs(js): fix predictions setup example (#8153)

* fix predictions front end configuration example

* update pkg installation

* Fix typo in description of the use of amplify_outputs.json (Angular) (#8152)

* fix: update Next.js docs links for serverComponentsPackages (#8156)

* fix: update serverComponentExternalPackages references to latest Next.js docs links

* update all property references to point to new name

* Update index.mdx (#8159)

* Added new badge and message for AI kit (#8110)


Co-authored-by: dindjarinjs <187552781+dindjarinjs@users.noreply.github.com>

* update module troubleshooting page with vue config (#8118)

* add guide to extend api key expiration and rotate api key (#8158)

* add guide to extend api key expiration and rotate key

* add some addtional details

* chore: update one of the numbered list (#8134)

* docs(js): support uploadData checksumAlgorithm option (#8162)

* add region callout for gen1 predictions directive (#8111)

* adding autosignin callout (#8168)

* Access groups example (#8174)

* remove reference of renameModelFields

* add example for accessing user groups from session

* simplify example and add some spacing

* revert change

* add back ticks

* chore: add troubleshooting for circular dependency errors in backend (#8171)

* chore: add troubleshooting for circular dependency errors in backend

* feat(data): add multi-endpoint instructions (#8186)

* fix(storage): add options object to list example (#8184)

* add options

* fix spacing

* spaces instead of tabs

* [amplify-data] feat: add gen1 manyToMany auth discussion (#8172)

* feat: add gen1 manyToMany auth discussion

* Fix directive format

Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com>

---------

Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com>

* feat(auth): Introduce resumable signin guide for the AmplifyJS (#7976)

* Update Docs with contents of resumable sign in feature

Co-authored-by: James Jarvis <jjarvisp@amazon.com>

* feature(function): add custom functions documentation for AWS Amplify-backend (#8176)

* feature(function): add custom functions documentation for AWS Amplify Gen 2 @aws-amplify/amplify-backend/1602

* chore(function): rename function handler and update handler file path, remove go lambda alpha package

* docs(functions): improve documentation for Python and Go functions, correcting capitalization and enhancing clarity

* docs(functions): clarify function invocation instructions and improve code examples in custom functions documentation

* chore: fix capitalization in documentation.

* Update src/pages/[platform]/build-a-backend/functions/custom-functions/index.mdx

Co-authored-by: josef <josef.aidt@gmail.com>

* Update src/pages/[platform]/build-a-backend/functions/custom-functions/index.mdx

---------

Co-authored-by: josef <josef.aidt@gmail.com>

* update codeowners, remove docs team req (#8188)

* add callout for branch env variables (#8177)

* add callout for branch env variables

* update callout location

* chore: added cascade delete sections in Has One and Has Many data mod… (#8189)

* chore: added cascade delete sections in Has One and Has Many data model relationships

* moved title of section inside ts and js frameworks

* nit fix

* chore: update supported Next.js version range (#8191)

* chore: remove/update callout regarding supported next version range (#8195)

* update function scheduling (#8181)

* update layer doc to add short version (#8161)

* update layer doc to add short version

* nits

---------

Co-authored-by: Roshane Pascual <rtpascual@users.noreply.github.com>
Co-authored-by: dindjarinjs <187552781+dindjarinjs@users.noreply.github.com>
Co-authored-by: Ian Saultz <52051793+atierian@users.noreply.github.com>
Co-authored-by: Danny Banks <djb@amazon.com>
Co-authored-by: Abhash Kumar Singh <thisisabhash@gmail.com>
Co-authored-by: Harsh <6162866+harsh62@users.noreply.github.com>
Co-authored-by: Parker Scanlon <69879391+scanlonp@users.noreply.github.com>
Co-authored-by: James Jarvis <jjarvisp@amazon.com>
Co-authored-by: Tiffany Yeung <tiffanynwyeung@gmail.com>
Co-authored-by: Kethan sai <ykethan@amazon.com>
Co-authored-by: Vincent Tran <hello@vincetran.me>
Co-authored-by: Matt Creaser <mattwcc@amazon.com>
Co-authored-by: AllanZhengYP <zheallan@amazon.com>
Co-authored-by: Mo Malaka <mmalaka@gmail.com>
Co-authored-by: Arundeep Nagaraj <84913786+arundna@users.noreply.github.com>
Co-authored-by: Nikhil Swaminathan <2429410+swaminator@users.noreply.github.com>
Co-authored-by: Ivan Artemiev <29709626+iartemiev@users.noreply.github.com>
Co-authored-by: Aaron S. <94858815+stocaaro@users.noreply.github.com>
Co-authored-by: andreyaurelien <69720066+andreyaurelien@users.noreply.github.com>
Co-authored-by: Tiffany Yeung <tnwyeung@amazon.com>
Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com>
Co-authored-by: Erik Hanchett <icystorm@gmail.com>
Co-authored-by: Dane Pilcher <dppilche@amazon.com>
Co-authored-by: bobbyu99 <bobbyu@amazon.com>
Co-authored-by: chris <christopher.bonifacio@gmail.com>
Co-authored-by: Amplifiyer <51211245+Amplifiyer@users.noreply.github.com>
Co-authored-by: Tim Schmelter <schmelte@amazon.com>
Co-authored-by: Joon Choi <13882232+joon-won@users.noreply.github.com>
Co-authored-by: Burak Karahan <burak.karahan@mail.ru>
Co-authored-by: Tejas Khanolkar <44199099+tejas2008@users.noreply.github.com>
Co-authored-by: Hui Zhao <10602282+HuiSF@users.noreply.github.com>
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.

7 participants