Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/dir-sync-google-wizard.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@clerk/localizations': minor
'@clerk/shared': minor
'@clerk/ui': minor
---

Support Google Workspace in the Directory Sync setup flow. Those connections previously showed a notice directing the organization admin to the Clerk Dashboard; they can now upload a service account key and delegated admin email, start a sync, and see the result of the last one.
4 changes: 0 additions & 4 deletions packages/localizations/src/ar-SA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,6 @@ export const arSA: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/be-BY.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,6 @@ export const beBY: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/bg-BG.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,6 @@ export const bgBG: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/bn-IN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,6 @@ export const bnIN: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/ca-ES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,6 @@ export const caES: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/cs-CZ.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,6 @@ export const csCZ: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/da-DK.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,6 @@ export const daDK: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/de-DE.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,6 @@ export const deDE: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/el-GR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,6 @@ export const elGR: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/en-GB.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,6 @@ export const enGB: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
36 changes: 32 additions & 4 deletions packages/localizations/src/en-US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,16 @@ export const enUS: LocalizationResource = {
step3: 'Select Provisioning and set the provisioning mode to Automatic.',
step4: 'Assign the users and groups to provision, then turn provisioning On.',
},
google: {
step1:
'In the Google Cloud console, create a project and a service account, then create a JSON key for it and download the file.',
step2: 'Enable the Admin SDK API for that project.',
step3:
'In the Google Admin console, open Security, then API controls, then Domain-wide delegation, and add the service account using its client ID.',
step4:
'Grant it the read-only directory scopes: https://www.googleapis.com/auth/admin.directory.user.readonly and https://www.googleapis.com/auth/admin.directory.group.readonly.',
step5: 'Upload the JSON key below and enter the email of a Google Workspace admin to read the directory as.',
},
okta: {
step1: 'In the Okta Admin Console, open the application used for your SSO connection.',
step2: 'Open the Provisioning tab and select the Integration setting.',
Expand All @@ -268,10 +278,15 @@ export const enUS: LocalizationResource = {
notice__tokenShownOnce: 'This token is only shown once. Generate a new token if you lose it.',
subtitle: 'Add these credentials to your identity provider to configure Directory Sync',
title: 'Configure',
warning__googleUnsupported: {
subtitle: 'Please contact support to set up your Google Workspace integration.',
title: 'Google Workspace connections are not configurable via self-serve',
},
actionLabel__replaceKey: 'Replace JSON key',
actionLabel__uploadKey: 'Upload JSON key',
badge__credentialsConfigured: 'Configured',
badge__credentialsMissing: 'Not configured',
error__invalidKeyFile: 'That file is not valid JSON. Upload the key file downloaded from Google.',
formFieldHint__subjectEmail: 'The directory is read as this admin. They must be an active Workspace admin.',
formFieldInputPlaceholder__subjectEmail: 'admin@yourcompany.com',
formFieldLabel__serviceAccountKey: 'Service account key',
formFieldLabel__subjectEmail: 'Google Workspace admin email',
warning__ssoInactive:
'Your SSO connection is configured but not active. Members can be provisioned now, but they can only sign in once SSO is activated.',
},
Expand All @@ -291,11 +306,24 @@ export const enUS: LocalizationResource = {
},
testStep: {
actionLabel__complete: 'Complete',
actionLabel__syncNow: 'Sync now',
badge__active: 'Active',
badge__deprovisioned: 'Deprovisioned',
description: 'Users appear here as your identity provider provisions them, most recent activity first.',
description__pull:
'Your directory is read on a schedule. Start a sync to pull users now, most recent activity first.',
empty__waitingForFirstSync: 'Waiting for the first sync to finish…',
empty__waitingForFirstUser: 'Waiting for the first provisioned user…',
error__lastSyncFailed: 'The last sync failed',
error__loadUsers: 'Could not load provisioned users',
syncRow: {
neverSynced: 'Not synced yet',
title: 'Directory sync',
},
syncStatus__cancelled: 'Cancelled',
syncStatus__failed: 'Failed',
syncStatus__running: 'Running',
syncStatus__succeeded: 'Succeeded',
note: 'only users with an email address from a configured domain will be processed.',
noteLabel: 'Note:',
subtitle: 'Assign or push a test user from {{provider}} to verify provisioning.',
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/es-CR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,6 @@ export const esCR: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/es-ES.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,6 @@ export const esES: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/es-MX.ts
Original file line number Diff line number Diff line change
Expand Up @@ -271,10 +271,6 @@ export const esMX: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/es-UY.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,6 @@ export const esUY: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/fa-IR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,10 +275,6 @@ export const faIR: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/fi-FI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,6 @@ export const fiFI: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/fr-FR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,10 +278,6 @@ export const frFR: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/he-IL.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,6 @@ export const heIL: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/hi-IN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,6 @@ export const hiIN: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/hr-HR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,6 @@ export const hrHR: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/hu-HU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,6 @@ export const huHU: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/id-ID.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,6 @@ export const idID: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/is-IS.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,6 @@ export const isIS: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/it-IT.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,10 +276,6 @@ export const itIT: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/ja-JP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,6 @@ export const jaJP: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/kk-KZ.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,6 @@ export const kkKZ: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/ko-KR.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,10 +274,6 @@ export const koKR: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/mn-MN.ts
Original file line number Diff line number Diff line change
Expand Up @@ -270,10 +270,6 @@ export const mnMN: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/ms-MY.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,10 +278,6 @@ export const msMY: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
4 changes: 0 additions & 4 deletions packages/localizations/src/nb-NO.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,10 +277,6 @@ export const nbNO: LocalizationResource = {
notice__tokenShownOnce: undefined,
subtitle: undefined,
title: undefined,
warning__googleUnsupported: {
subtitle: undefined,
title: undefined,
},
warning__ssoInactive: undefined,
},
navbar: {
Expand Down
Loading
Loading