Repository navigation
feat(shared): add ChatGPT OAuth provider type - #10107
Conversation
🦋 Changeset detectedLatest commit: ea69fb8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 23 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.
|
|
Important Review skippedReview was skipped as selected files did not have any reviewable changes.
|
@clerk/astro
@clerk/backend
@clerk/chrome-extension
@clerk/clerk-js
@clerk/electron
@clerk/electron-passkeys
@clerk/eslint-plugin
@clerk/expo
@clerk/expo-biometrics
@clerk/expo-google-signin
@clerk/expo-native-components
@clerk/expo-passkeys
@clerk/express
@clerk/fastify
@clerk/hono
@clerk/localizations
@clerk/mosaic
@clerk/nextjs
@clerk/nuxt
@clerk/react
@clerk/react-router
@clerk/shared
@clerk/tanstack-react-start
@clerk/testing
@clerk/ui
@clerk/upgrade
@clerk/vue
commit: |
alexcarpenter
left a comment
There was a problem hiding this comment.
will want to add to supports mask image list here
8f32a24 to
a76eb84
Compare
API Changes Report
Summary
@clerk/sharedCurrent version: 4.46.0 Subpath
|
The ChatGPT logo is monochrome, so render it through the mask image like the other single-color logos (Apple, GitHub, Vercel, X). Without the mask the black logo is unreadable in dark themes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@alexcarpenter Added |
|


Description
Clerk's backend is adding Sign in with ChatGPT as a built-in social connection (
oauth_chatgpt, clerk_go#22875), but@clerk/shareddoesn't know the provider. SDK types reject the strategy, and the provider catalog has no name or icon metadata for it, so apps and the Dashboard can't render or type a ChatGPT connection.This adds
chatgpt/oauth_chatgptto the OAuth provider union and the provider catalog, with a patch changeset. The union only grows, so the change is non-breaking. Nothing renders until an instance has the backendchatgpt_oauthflag on and its own OpenAI client configured.How to test:
pnpm --filter @clerk/shared test(includes the provider-sorting case for ChatGPT). It passed (1396 tests) on the stacked UI branch, which contains this change. The end-to-end flow is exercised by the stacked UI PR javascript#10172.Related: clerk_go#22875, dashboard#10380. Part of AIE-1801.
Checklist
pnpm testruns as expected.pnpm buildruns as expected (not run on this branch alone; the stacked UI branch builds).Type of change
🤖 Generated with Claude Code