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

Feature passwordless social login #2079

Draft
wants to merge 45 commits into
base: develop
Choose a base branch
from

Conversation

hajinsuha1
Copy link
Collaborator

Description

Types of Changes

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Documentation update
  • Breaking change (could cause existing functionality to not work as expected)
  • Other changes (non-breaking changes that does not fit any of the above)

Breaking changes include:

  • Removing a public function or component or prop
  • Adding a required argument to a function
  • Changing the data type of a function parameter or return value
  • Adding a new peer dependency to package.json

Changes

  • (change1)

How to Test-Drive This PR

  • (step1)

Checklists

General

  • Changes are covered by test cases
  • CHANGELOG.md updated with a short description of changes (not required for documentation updates)

Accessibility Compliance

You must check off all items in one of the follow two lists:

  • There are no changes to UI

or...

Localization

  • Changes include a UI text update in the Retail React App (which requires translation)

bredmond-sf and others added 27 commits September 25, 2024 15:32
…orceCommerceCloud/pwa-kit into W-16544327-social-login-ui
…orceCommerceCloud/pwa-kit into feature-passwordless-social-login
Add wrappers for social login helpers: `authorizeIDP` and `loginIDPUser`
---------
Co-authored-by: Joel Uong <[email protected]>
…2075)

* Add `authorizePasswordless` and `getPasswordLessAccessToken` wrappers to `commerce-sdk-react`
* Add `callbackURI` to Auth class and `CommerceApiProvider`

---------

Signed-off-by: Yuna Kim <[email protected]>
This PR implements the Social Login redirect page which has a loading state until the user is successfully logged in.
* add StandardLogin, PasswordlessLogin, SocialLogin components
Implement a Check Your Email page that will be used in the passwordless login flow

---------

Signed-off-by: Yuna Kim <[email protected]>
…ge (#2105)

Add passwordless/social login UI buttons to the Checkout page if enabled.

---------

Signed-off-by: Jinsu Ha <[email protected]>
Signed-off-by: Yuna Kim <[email protected]>
Co-authored-by: Jinsu Ha <[email protected]>
Co-authored-by: Jinsu Ha <[email protected]>
…to UI (#2124)

Integrate Social Login UI changes in the PWA Kit to backend SLAS API calls.
---------

Signed-off-by: Yuna Kim <[email protected]>
* make passwordless login work by sending an email via a Marketing Cloud integration

* add new check email page

* make passwordless login work in auth-modal

* create use-passwordless-login hook and support passwordless in /login page

* add /passwordless-login-landing page

* add /reset-password-landing page

* call mergeBasket during passwordless login
@@ -45,7 +54,9 @@ const options = {
// Set this to false if using a SLAS public client
// When setting this to true, make sure to also set the PWA_KIT_SLAS_CLIENT_SECRET
// environment variable as this endpoint will return HTTP 501 if it is not set
useSLASPrivateClient: false,
useSLASPrivateClient: true,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Suggested change
useSLASPrivateClient: true,
useSLASPrivateClient: false,

yunakim714 and others added 2 commits January 14, 2025 17:53
…r social/passwordless login & reset password (#2198)

Customers can change the callback & redirect uri's for social login, passwordless login, and password reset via env var
jeremy-jung1 and others added 16 commits January 16, 2025 15:04
…-button

@W-17526051 - Add a "Back" button for Standard Login
…eset password (#2185)

Handle error states for API errors in the social login, passwordless login, and reset password flows
* initial implementation of checkout passwordless login
* reword "Checkout as Guest" to "Back to Sign In Options"
* remove checking status and throwing error in handlePasswordlessLogin in ContactInfo
* ensure Check Email modal doesn't open on error and password login works after failed passwordless
* update contact info passwordless login error message handling
---------

Signed-off-by: Yuna Kim <[email protected]>
Signed-off-by: Jinsu Ha <[email protected]>
Co-authored-by: yunakim714 <[email protected]>
Co-authored-by: Yuna Kim <[email protected]>
Co-authored-by: Brian Redmond <[email protected]>
Co-authored-by: bredmond-sf <[email protected]>
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.

4 participants