SalesforceCommerceCloud / pwa-kit

React-based JavaScript frontend framework to create a progressive web app (PWA) storefront for Salesforce B2C Commerce.
https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/pwa-kit-overview.html
BSD 3-Clause "New" or "Revised" License
285 stars 138 forks source link

Social Login Redirect Page #2068

Closed yunakim714 closed 1 month ago

yunakim714 commented 1 month ago

Description

In Social Login, users are redirected to a 3rd party IDP site to complete login. When they are redirected back to the storefront site, there will be a redirect page with a loading state until the user is successfully logged in.

Figma Prototype here

Types of Changes

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

How to Test-Drive This PR

To see the redirect page:

To see the redirect page within the social login flow:

Checklists

General

Accessibility Compliance

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

or...

Localization