Skip to content

fix(ui,localizations,shared): Show a pull directory without credentials as In Progress - #10569

Draft
mauricioabreu wants to merge 1 commit into
mainfrom
mauricio-antunes/directory-sync-in-progress-state
Draft

mauricioabreu wants to merge 1 commit into
mainfrom
mauricio-antunes/directory-sync-in-progress-state

Conversation

@mauricioabreu

@mauricioabreu mauricioabreu commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Description

A Google Workspace directory shows up in the <OrganizationProfile /> Security tab the moment the Directory Sync wizard opens, before its service account credentials are stored. The section derived its badge from enabled alone, so that half-configured directory read Inactive and offered Activate. The server refuses that activation until the credentials exist, and the refusal is a field-scoped error the section drops, so the admin saw a dead switch. One admin read it as a Clerk-side gate.

The section now treats credentialsConfigured === false as an In Progress status that outranks enabled, the way the SSO section above it and the Dashboard already do. In that state the row shows an In Progress badge, a Continue configuration button that reopens the wizard at the credentials step, and a menu with Edit and Remove only. The wizard stepper also stops ticking the configure step before the credentials exist. Push providers are unaffected, since the field is null for them.

To test: open the Security tab of an organization with a Google Workspace SSO connection, click Configure, and leave the wizard without uploading a key. The section should read In Progress with Continue configuration instead of Inactive with Activate.

Backend side, which makes the server's refusal visible even on older @clerk/ui: clerk/clerk_go#23651. Docs: clerk/clerk#3749.

Checklist

  • pnpm test runs as expected.
  • pnpm 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:

…ls as In Progress

A Google Workspace directory exists in the Security tab as soon as the wizard opens, before its credentials are stored. The section read `enabled` only, so the row said Inactive and offered Activate, which the server refuses. Derive an In Progress status from `credentialsConfigured`, offer Continue configuration instead of Activate, and stop the wizard stepper ticking the configure step early.
@changeset-bot

changeset-bot Bot commented Nov 2, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 27a4a95

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

This PR includes changesets to release 23 packages
Name Type
@clerk/ui Patch
@clerk/localizations Patch
@clerk/shared Patch
@clerk/astro Patch
@clerk/chrome-extension Patch
@clerk/react Patch
@clerk/vue Patch
@clerk/backend Patch
@clerk/clerk-js Patch
@clerk/electron Patch
@clerk/expo-passkeys Patch
@clerk/expo Patch
@clerk/express Patch
@clerk/fastify Patch
@clerk/hono Patch
@clerk/mosaic Patch
@clerk/msw Patch
@clerk/nextjs Patch
@clerk/nuxt Patch
@clerk/react-router Patch
@clerk/swingset Patch
@clerk/tanstack-react-start Patch
@clerk/testing 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

@vercel

vercel Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
clerk-js-sandbox Ready Ready Preview Nov 2, 2026 3:51am UTC
swingset Ready Ready Preview Nov 2, 2026 3:51am UTC

Request Review

@coderabbitai

coderabbitai Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@pkg-pr-new

pkg-pr-new Bot commented Nov 2, 2026

Copy link
Copy Markdown

Open in StackBlitz

@clerk/astro

npm i https://pkg.pr.new/@clerk/astro@10569

@clerk/backend

npm i https://pkg.pr.new/@clerk/backend@10569

@clerk/chrome-extension

npm i https://pkg.pr.new/@clerk/chrome-extension@10569

@clerk/clerk-js

npm i https://pkg.pr.new/@clerk/clerk-js@10569

@clerk/electron

npm i https://pkg.pr.new/@clerk/electron@10569

@clerk/electron-passkeys

npm i https://pkg.pr.new/@clerk/electron-passkeys@10569

@clerk/eslint-plugin

npm i https://pkg.pr.new/@clerk/eslint-plugin@10569

@clerk/expo

npm i https://pkg.pr.new/@clerk/expo@10569

@clerk/expo-biometrics

npm i https://pkg.pr.new/@clerk/expo-biometrics@10569

@clerk/expo-google-signin

npm i https://pkg.pr.new/@clerk/expo-google-signin@10569

@clerk/expo-native-components

npm i https://pkg.pr.new/@clerk/expo-native-components@10569

@clerk/expo-passkeys

npm i https://pkg.pr.new/@clerk/expo-passkeys@10569

@clerk/express

npm i https://pkg.pr.new/@clerk/express@10569

@clerk/fastify

npm i https://pkg.pr.new/@clerk/fastify@10569

@clerk/hono

npm i https://pkg.pr.new/@clerk/hono@10569

@clerk/localizations

npm i https://pkg.pr.new/@clerk/localizations@10569

@clerk/mosaic

npm i https://pkg.pr.new/@clerk/mosaic@10569

@clerk/nextjs

npm i https://pkg.pr.new/@clerk/nextjs@10569

@clerk/nuxt

npm i https://pkg.pr.new/@clerk/nuxt@10569

@clerk/react

npm i https://pkg.pr.new/@clerk/react@10569

@clerk/react-router

npm i https://pkg.pr.new/@clerk/react-router@10569

@clerk/shared

npm i https://pkg.pr.new/@clerk/shared@10569

@clerk/tanstack-react-start

npm i https://pkg.pr.new/@clerk/tanstack-react-start@10569

@clerk/testing

npm i https://pkg.pr.new/@clerk/testing@10569

@clerk/ui

npm i https://pkg.pr.new/@clerk/ui@10569

@clerk/upgrade

npm i https://pkg.pr.new/@clerk/upgrade@10569

@clerk/vue

npm i https://pkg.pr.new/@clerk/vue@10569

commit: 27a4a95

This branch was successfully deployed

2 active deployments
Preview – swingset — 27a4a952 Deployed Nov 2, 2026 by vercel[bot]
Preview – clerk-js-sandbox — 27a4a952 Deployed Nov 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant