diff --git a/.changeset/tiny-timers-sit.md b/.changeset/tiny-timers-sit.md new file mode 100644 index 00000000000..e242f385c90 --- /dev/null +++ b/.changeset/tiny-timers-sit.md @@ -0,0 +1,5 @@ +--- +'@clerk/types': patch +--- + +Add support for Enstall OAuth provider diff --git a/.github/actions/init/action.yml b/.github/actions/init/action.yml index d7107189315..664257103e5 100644 --- a/.github/actions/init/action.yml +++ b/.github/actions/init/action.yml @@ -5,7 +5,7 @@ inputs: node-version: description: 'The node version to use' required: false - default: '18' + default: '18.20.2' # This is pinned to `18.20.2` because `18.20.3` bumps npm from `10.5.0` to `10.7.0`, which causes our verdaccio setup to fail (see SDK-1793). playwright-enabled: description: 'Enable Playwright?' required: false diff --git a/packages/types/src/oauth.ts b/packages/types/src/oauth.ts index 014efb49b52..9981dcc5209 100644 --- a/packages/types/src/oauth.ts +++ b/packages/types/src/oauth.ts @@ -35,6 +35,7 @@ export type BoxOauthProvider = 'box'; export type SlackOauthProvider = 'slack'; export type LinearOauthProvider = 'linear'; export type XOauthProvider = 'x'; +export type EnstallOauthProvider = 'enstall'; export type OAuthProvider = | FacebookOauthProvider @@ -62,7 +63,8 @@ export type OAuthProvider = | BoxOauthProvider | SlackOauthProvider | LinearOauthProvider - | XOauthProvider; + | XOauthProvider + | EnstallOauthProvider; export const OAUTH_PROVIDERS: OAuthProviderData[] = [ { @@ -221,6 +223,12 @@ export const OAUTH_PROVIDERS: OAuthProviderData[] = [ name: 'X / Twitter', docsUrl: 'https://clerk.com/docs/authentication/social-connection-with-x-twitter-v2', }, + { + provider: 'enstall', + strategy: 'oauth_enstall', + name: 'Enstall', + docsUrl: 'https://clerk.com/docs/authentication/social-connections/enstall', + }, ]; interface getOAuthProviderDataProps {