Skip to content

feat: use customer access tokens for customer logins#1262

Merged
chanceaclark merged 6 commits intomainfrom
customer-access-tokens
Nov 4, 2024
Merged

feat: use customer access tokens for customer logins#1262
chanceaclark merged 6 commits intomainfrom
customer-access-tokens

Conversation

@chanceaclark
Copy link
Copy Markdown
Contributor

@chanceaclark chanceaclark commented Aug 14, 2024

What/Why?

Uses the new approach of using Customer Access Tokens (CATs) when login in as a customer. This change utilized the Storefront API Token (APIT) instead of the Storefront Customer Impersonation Token (CIT) to authenticate requests as CATs will only be generated using a APIT.

Tip

Reviewing by commit will be helpful.

Testing

Every commit was individually tested so that Catalyst could keep working depending on the state. If need be, try to roll back to a previous commit if not working correctly.

Releasing

  1. Cut a release before merging
  2. Merge this PR
  3. Immediately cut another release

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Aug 14, 2024

🦋 Changeset detected

Latest commit: 8142e79

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@bigcommerce/catalyst-client Minor
@bigcommerce/catalyst-core Minor
@bigcommerce/create-catalyst Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@chanceaclark chanceaclark force-pushed the customer-access-tokens branch from 2f27e9d to 281c2e2 Compare August 14, 2024 19:32
@chanceaclark chanceaclark force-pushed the customer-access-tokens branch from c73a51f to 3d07943 Compare August 15, 2024 14:25
@chanceaclark chanceaclark force-pushed the customer-access-tokens branch from 3d07943 to 7d9a756 Compare August 15, 2024 14:39
@chanceaclark chanceaclark force-pushed the customer-access-tokens branch from 7d9a756 to 149e1bc Compare August 19, 2024 15:11
@chanceaclark chanceaclark force-pushed the customer-access-tokens branch from 149e1bc to fe5f3ef Compare August 19, 2024 15:28
@chanceaclark chanceaclark force-pushed the customer-access-tokens branch from fe5f3ef to 3e91ac6 Compare August 20, 2024 19:04
@chanceaclark chanceaclark force-pushed the customer-access-tokens branch from 3e91ac6 to b45de52 Compare August 28, 2024 19:15
@chanceaclark chanceaclark force-pushed the customer-access-tokens branch from b45de52 to e50c680 Compare September 3, 2024 14:54
@chanceaclark chanceaclark force-pushed the customer-access-tokens branch from e50c680 to 533df87 Compare September 3, 2024 15:04
@chanceaclark chanceaclark force-pushed the customer-access-tokens branch from 533df87 to 33f88c8 Compare September 3, 2024 19:48
Comment thread integrations/algolia/integration.patch Outdated
Comment thread integrations/makeswift/integration.patch Outdated
@github-actions github-actions Bot mentioned this pull request Nov 4, 2024
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 4, 2024

⚡️🏠 Lighthouse report

Lighthouse ran against https://catalyst-latest-3wv1owqbw-bigcommerce-platform.vercel.app

🖥️ Desktop

We ran Lighthouse against the changes on a desktop and produced this report. Here's the summary:

Category Score
🟠 Performance 80
🟢 Accessibility 96
🟢 Best practices 100
🟠 SEO 82

📱 Mobile

We ran Lighthouse against the changes on a mobile and produced this report. Here's the summary:

Category Score
🟢 Performance 96
🟢 Accessibility 96
🟢 Best practices 100
🟠 SEO 85

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