Skip to content

fix(clerk-js): Fallback to FAPI error message for password pwned case#2273

Merged
desiprisg merged 1 commit into
mainfrom
pwned_error_fallback
Dec 6, 2023
Merged

fix(clerk-js): Fallback to FAPI error message for password pwned case#2273
desiprisg merged 1 commit into
mainfrom
pwned_error_fallback

Conversation

@desiprisg

Copy link
Copy Markdown
Contributor

Description

Fallback to fapi error when the password has been found in a data breach. This is a very small fix for support, will follow up with a ticket to fix the larger issue with this utility.

Checklist

  • npm test runs as expected.
  • npm run build runs as expected.
  • (If applicable) JSDoc comments have been added or updated for any package exports
  • (If applicable) Documentation has been updated

Type of change

  • 🐛 Bug fix
  • 🌟 New feature
  • 🔨 Breaking change
  • 📖 Refactoring / dependency upgrade / documentation
  • other:

Packages affected

  • @clerk/backend
  • @clerk/chrome-extension
  • @clerk/clerk-js
  • @clerk/clerk-expo
  • @clerk/fastify
  • gatsby-plugin-clerk
  • @clerk/localizations
  • @clerk/nextjs
  • @clerk/clerk-react
  • @clerk/remix
  • @clerk/clerk-sdk-node
  • @clerk/shared
  • @clerk/themes
  • @clerk/types
  • build/tooling/chore

@desiprisg desiprisg self-assigned this Dec 6, 2023
@changeset-bot

changeset-bot Bot commented Dec 6, 2023

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 5b31b9b

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

This PR includes changesets to release 3 packages
Name Type
@clerk/clerk-js Patch
@clerk/chrome-extension Patch
@clerk/clerk-expo Patch

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

@github-actions

github-actions Bot commented Dec 6, 2023

Copy link
Copy Markdown
Contributor

⚠️ Changes detected under the ClerkJS ui directory!

Don't forget to apply the same changes under the /ui.retheme directory:
packages/clerk-js/src/ui/** ➡️ packages/clerk-js/src/ui.retheme/**

Also, you may need to update the following files:

  • packages/localizations/src/en-US.retheme.ts
  • packages/localizations/src/index.retheme.ts
  • packages/types/src/appearance.retheme.ts
  • packages/types/src/clerk.retheme.ts
  • packages/types/src/index.retheme.ts
  • packages/types/src/localization.retheme.ts

@dimkl

dimkl commented Dec 6, 2023

Copy link
Copy Markdown
Contributor

@desiprisg we need to backport it to release/v4 to release it as part of v4 and resolve the support ticket.

@desiprisg desiprisg force-pushed the pwned_error_fallback branch from 913e3c6 to cd3b7f6 Compare December 6, 2023 09:53
Comment thread .changeset/tricky-worms-wonder.md Outdated
@dimkl

dimkl commented Dec 6, 2023

Copy link
Copy Markdown
Contributor

@desiprisg also don't forget to make the changes for retheme!

Comment thread .changeset/tricky-worms-wonder.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔧 could you remove this file?

@desiprisg desiprisg added this pull request to the merge queue Dec 6, 2023
@dimkl dimkl removed this pull request from the merge queue due to a manual request Dec 6, 2023
@desiprisg desiprisg force-pushed the pwned_error_fallback branch from 6589688 to 5b31b9b Compare December 6, 2023 12:28
@desiprisg desiprisg enabled auto-merge December 6, 2023 12:28
@desiprisg desiprisg added this pull request to the merge queue Dec 6, 2023
Merged via the queue into main with commit 30dfdf2 Dec 6, 2023
@desiprisg desiprisg deleted the pwned_error_fallback branch December 6, 2023 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants