# SSO Types

The types on this page describe the SSO values accepted by Clerk SDK methods.

Import these types from your SDK's public `/types` entry point using a type-only import. For example, with the Next.js SDK:

```ts
import type {
  OAuthProvider,
  OAuthStrategy,
  CustomOAuthStrategy,
  EnterpriseSSOStrategy,
} from '@clerk/nextjs/types'
```

See the [Clerk types overview](https://clerk.com/docs/nuxt/reference/types/overview.md) for the entry point for each SDK.

## `OAuthStrategy`

A type that represents the OAuth strategy for a given provider.

For example, when creating a [SignIn](https://clerk.com/docs/reference/objects/sign-in.md#signincreateparams) or [SignUp](https://clerk.com/docs/reference/objects/sign-up.md#signupcreateparams), you can pass the `strategy` option to specify the OAuth strategy to use.

```ts
type OAuthStrategy = `oauth_${OAuthProvider}` | CustomOAuthStrategy
```

## `OAuthProvider`

A type that represents the provider portion of an OAuth strategy. For example, the provider is `'google'`, while the corresponding [OAuthStrategy](https://clerk.com/docs/nuxt/reference/types/sso.md#oauthstrategy) is `'oauth_google'`.

```ts
type OAuthProvider =
  | 'facebook'
  | 'google'
  | 'hubspot'
  | 'github'
  | 'tiktok'
  | 'gitlab'
  | 'discord'
  | 'twitter'
  | 'twitch'
  | 'linkedin'
  | 'linkedin_oidc'
  | 'dropbox'
  | 'atlassian'
  | 'bitbucket'
  | 'microsoft'
  | 'notion'
  | 'apple'
  | 'line'
  | 'instagram'
  | 'coinbase'
  | 'spotify'
  | 'xero'
  | 'box'
  | 'slack'
  | 'linear'
  | 'x'
  | 'enstall'
  | 'huggingface'
  | 'vercel'
  | 'agentid'
  | `custom_${string}`
```

## `CustomOAuthStrategy`

A type that represents a [custom OAuth strategy](https://clerk.com/docs/guides/configure/auth-strategies/social-connections/custom-provider.md?sdk=nuxt).

```ts
type CustomOAuthStrategy = `oauth_custom_${string}`
```

## `EnterpriseSSOStrategy`

A type that represents an [Enterprise SSO](https://clerk.com/docs/guides/configure/auth-strategies/enterprise-connections/authentication-flows.md?sdk=nuxt) strategy.

```ts
type EnterpriseSSOStrategy = `enterprise_sso`
```

---

## Sitemap

[Overview of all docs pages](https://clerk.com/docs/llms.txt)
