Files
better-auth/packages/scim/CHANGELOG.md
2026-05-12 17:30:34 +01:00

14 KiB

@better-auth/scim

1.6.11

Patch Changes

  • #9162 a26333b Thanks @ping-maxwell! - fix: cleanup sessions when admin, anonymous, or SCIM deletes a user

  • #9579 2f5d91c Thanks @gustavovalverde! - POST /scim/generate-token accepted a providerId that collided with a built-in account.providerId value (credential, email-otp, magic-link, phone-number, anonymous, siwe, or any configured social provider key), so a SCIM caller could mint a token that authenticated against accounts it never provisioned.

    generateSCIMToken now rejects providerId values that collide with the built-in account provider list, returning BAD_REQUEST at issuance. The configured-social-provider check reads from options.socialProviders rather than the resolved provider list so that providers disabled with enabled: false are still rejected: their account rows can persist from when the provider was enabled.

    providerOwnership.enabled stays default false on this patch release so existing SQL deployments do not need a schema migration mid-upgrade. The follow-up on next flips the default to true and ships the corresponding scimProvider.userId schema column so non-organization SCIM tokens are owner-locked by default. Operators who need owner-locking immediately can opt in today with scim({ providerOwnership: { enabled: true } }) and add the userId column manually.

  • Updated dependencies [0cbddb8, a26333b, 99a254a, ee93485, 5f09d56, b4bc65a, da7e50b, a1c9f3c, 23094a6, 142b86c, 1f2ff42, b0ef96f, 699b09a, e21d744]:

    • @better-auth/core@1.6.11
    • better-auth@1.6.11

1.6.10

Patch Changes

1.6.9

Patch Changes

  • Updated dependencies [815ecf6]:
    • @better-auth/core@1.6.9
    • better-auth@1.6.9

1.6.8

Patch Changes

  • Updated dependencies [856ab24, 9aa8e63]:
    • better-auth@1.6.8
    • @better-auth/core@1.6.8

1.6.7

Patch Changes

1.6.6

Patch Changes

1.6.5

Patch Changes

  • Updated dependencies [938dd80, 0538627]:
    • better-auth@1.6.5
    • @better-auth/core@1.6.5

1.6.4

Patch Changes

1.6.3

Patch Changes

1.6.2

Patch Changes

1.6.1

Patch Changes

1.6.0

Minor Changes

Patch Changes

1.6.0-beta.0

Minor Changes

  • 28b1291 Thanks @gustavovalverde! - Add optional version field to the plugin interface and expose version from all built-in plugins

Patch Changes