Skip to content
Draft
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
6 changes: 6 additions & 0 deletions packages/shared/src/oauth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,12 @@ export const OAUTH_PROVIDERS: OAuthProviderData[] = [
name: 'Coinbase',
docsUrl: 'https://clerk.com/docs/authentication/social-connections/coinbase',
},
{
provider: 'link',
strategy: 'oauth_link',
name: 'Stripe Link',
docsUrl: 'https://clerk.com/docs/guides/configure/auth-strategies/social-connections/link',
},
{
provider: 'spotify',
strategy: 'oauth_spotify',
Expand Down
3 changes: 3 additions & 0 deletions packages/shared/src/types/oauth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ export type InstagramOauthProvider = 'instagram';
/** @inline */
export type CoinbaseOauthProvider = 'coinbase';
/** @inline */
export type LinkOauthProvider = 'link';
/** @inline */
export type SpotifyOauthProvider = 'spotify';
/** @inline */
export type XeroOauthProvider = 'xero';
Expand Down Expand Up @@ -94,6 +96,7 @@ export type OAuthProvider =
| LineOauthProvider
| InstagramOauthProvider
| CoinbaseOauthProvider
| LinkOauthProvider
| SpotifyOauthProvider
| XeroOauthProvider
| BoxOauthProvider
Expand Down
6 changes: 6 additions & 0 deletions packages/shared/src/types/runtime-values.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@ export const OAUTH_PROVIDERS: OAuthProviderData[] = [
name: 'Coinbase',
docsUrl: 'https://clerk.com/docs/authentication/social-connections/coinbase',
},
{
provider: 'link',
strategy: 'oauth_link',
name: 'Stripe Link',
docsUrl: 'https://clerk.com/docs/guides/configure/auth-strategies/social-connections/link',
},
{
provider: 'spotify',
strategy: 'oauth_spotify',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ describe('useEnabledThirdPartyProviders', () => {
'oauth_instagram',
'oauth_line',
'oauth_linear',
'oauth_link',
'oauth_linkedin',
'oauth_linkedin_oidc',
'oauth_microsoft',
Expand Down
Loading