Repository navigation
fix(mosaic): prompt for reverification before deleting an organization - #10907
gabrielmeloc22 wants to merge 1 commit into
Conversation
Mosaic's OrganizationProfile deletes an organization without the reverification wrapper. On instances that require reverification for it, org admins see a session_reverification_required error instead of the verification prompt, and can't delete the organization. The delete now goes through useReverificationFlow, like account deletion does. Part of ORGS-2087
🦋 Changeset detectedLatest commit: 5dba33e The changes in this PR will be included in the next version bump. This PR includes changesets to release 3 packages
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 |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-biometrics
@clerk/expo-google-signin
@clerk/expo-native-components
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/mosaic
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |

Mosaic's
OrganizationProfiledeletes an organization without the reverification wrapper. Once an instance opts in to requiring reverification for organization deletion (clerk/clerk_go#24274), org admins outside the reverification window get asession_reverification_requirederror in the confirm dialog instead of the verification prompt, and can't delete the organization.The delete now goes through
useReverificationFlowand passes its controller touseConfirmController, the same wayUserProfileDangerSectionhandles account deletion. The new feature test has FAPI demand reverification once, enters the password in the prompt, and checks that the organization is deleted.Same change as #10871, for Mosaic. Raised in review on clerk/dashboard#10805.
Part of ORGS-2087