Skip to content

Commit 1f322e1

Browse files
authored
Merge branch 'main' into ss/DOCS-11879
2 parents e07caea + 64ccc20 commit 1f322e1

135 files changed

Lines changed: 9833 additions & 53 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.changeset/calm-combs-search.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@clerk/clerk-js': minor
3+
'@clerk/localizations': minor
4+
'@clerk/react': minor
5+
'@clerk/shared': minor
6+
'@clerk/ui': minor
7+
---
8+
9+
Introduce self-serve Directory Sync (SCIM) capabilities and related functionality.

‎.changeset/fix-he-il-formatting.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/backend': patch
3+
---
4+
5+
Update the `lockUser()` JSDoc to point at the **System** page under **Protect** > **Rules** (`/~/protect/rules/system`), matching the Clerk Dashboard's Protect navigation.

‎.changeset/quiet-flow-dialog.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

‎.changeset/warm-taxis-call.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

‎packages/backend/src/api/endpoints/UserApi.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ export class UserAPI extends AbstractAPI {
785785
}
786786

787787
/**
788-
* Locks the given [`User`](https://clerk.com/docs/reference/backend/types/backend-user), which means that they are not allowed to sign in again until the lock expires or is manually unlocked. By default, lockout duration is 1 hour, but it can be configured in the application's [**Rules**](https://dashboard.clerk.com/~/protect/rules) settings. See the [guide on user locks](https://clerk.com/docs/guides/secure/user-lockout).
788+
* Locks the given [`User`](https://clerk.com/docs/reference/backend/types/backend-user), which means that they are not allowed to sign in again until the lock expires or is manually unlocked. By default, lockout duration is 1 hour, but it can be configured in the application's [**System**](https://dashboard.clerk.com/~/protect/rules/system) settings under **Protect** > **Rules**. See the [guide on user locks](https://clerk.com/docs/guides/secure/user-lockout).
789789
* @param userId - The ID of the user to lock.
790790
*/
791791
public async lockUser(userId: string) {

‎packages/clerk-js/bundlewatch.config.json‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"files": [
3-
{ "path": "./dist/clerk.js", "maxSize": "552KB" },
4-
{ "path": "./dist/clerk.browser.js", "maxSize": "79KB" },
5-
{ "path": "./dist/clerk.legacy.browser.js", "maxSize": "122KB" },
3+
{ "path": "./dist/clerk.js", "maxSize": "554KB" },
4+
{ "path": "./dist/clerk.browser.js", "maxSize": "81KB" },
5+
{ "path": "./dist/clerk.legacy.browser.js", "maxSize": "122.5KB" },
66
{ "path": "./dist/clerk.no-rhc.js", "maxSize": "320KB" },
7-
{ "path": "./dist/clerk.native.js", "maxSize": "79KB" },
7+
{ "path": "./dist/clerk.native.js", "maxSize": "80KB" },
88
{ "path": "./dist/vendors*.js", "maxSize": "7KB" },
99
{ "path": "./dist/coinbase*.js", "maxSize": "36KB" },
1010
{ "path": "./dist/base-account-sdk*.js", "maxSize": "207KB" },

‎packages/clerk-js/sandbox/app.ts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ const AVAILABLE_COMPONENTS = [
3434
'pricingTable',
3535
'apiKeys',
3636
'configureSSO',
37+
'configureDirectorySync',
3738
'oauthConsent',
3839
'oauthDeviceVerification',
3940
'taskChooseOrganization',
@@ -154,6 +155,7 @@ const componentControls: Record<AvailableComponent, ComponentPropsControl> = {
154155
pricingTable: buildComponentControls('pricingTable'),
155156
apiKeys: buildComponentControls('apiKeys'),
156157
configureSSO: buildComponentControls('configureSSO'),
158+
configureDirectorySync: buildComponentControls('configureDirectorySync'),
157159
oauthConsent: buildComponentControls('oauthConsent'),
158160
oauthDeviceVerification: buildComponentControls('oauthDeviceVerification'),
159161
taskChooseOrganization: buildComponentControls('taskChooseOrganization'),
@@ -431,6 +433,10 @@ void (async () => {
431433
mount: '__internal_mountOAuthDeviceVerification',
432434
component: 'oauthDeviceVerification',
433435
},
436+
'/configure-directory-sync': {
437+
mount: '__internal_mountConfigureDirectorySync',
438+
component: 'configureDirectorySync',
439+
},
434440
'/task-choose-organization': {
435441
mount: 'mountTaskChooseOrganization',
436442
component: 'taskChooseOrganization',

‎packages/clerk-js/sandbox/template.html‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -313,6 +313,11 @@
313313
label="Configure SSO"
314314
component="<ConfigureSSO />"
315315
></nav-link>
316+
<nav-link
317+
href="/configure-directory-sync"
318+
label="Configure Directory Sync"
319+
component="<ConfigureDirectorySync />"
320+
></nav-link>
316321
<nav-link
317322
href="/open-invite-members"
318323
label="Open invite members"

0 commit comments

Comments
 (0)