feat(backend,clerk-js): Add providerUserId field to ExternalAccount#7777
feat(backend,clerk-js): Add providerUserId field to ExternalAccount#7777
Conversation
Add providerUserId as a new field to the ExternalAccount resource to provide a clearer way to access the unique user ID from OAuth providers. This field is now the preferred way to retrieve provider user identifiers. The existing externalId field is deprecated in favor of providerUserId for better clarity and consistency across the API. The externalId field remains available but is marked with @deprecated JSDoc annotation to guide developers toward the new field.
🦋 Changeset detectedLatest commit: 374f251 The changes in this PR will be included in the next version bump. This PR includes changesets to release 13 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.
|
@clerk/agent-toolkit
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/dev-cli
@clerk/expo
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/localizations
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
📝 WalkthroughWalkthroughThis pull request introduces a new 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
Add providerUserId as a new field to the ExternalAccount resource to provide a clearer way to access the unique user ID from OAuth providers. This field is now the preferred way to retrieve provider user identifiers.
The existing externalId field is deprecated in favor of providerUserId for better clarity and consistency across the API. The externalId field remains available but is marked with @deprecated JSDoc annotation to guide developers toward the new field.
Checklist
pnpm testruns as expected.pnpm buildruns as expected.Type of change
Summary by CodeRabbit
New Features
providerUserIdfield to external accounts for accessing OAuth provider user identifiers.Documentation
externalIdin favor ofproviderUserId.