---
title: "Enterprise Single Sign-On"
description: "Implement Enterprise Ready SSO in days, not months. WorkOS Single Sign-On supports SAML, OIDC, and popular identity providers through one elegant API."
url: https://workos.com/single-sign-on
---

# Enterprise Single Sign-On

## One integration, dozens of identity providers

Save months of development time integrating and debugging SAML and OpenID Connect protocols.

[Add SSO to your app](https://workos.com/signup)

[Read the docs](https://workos.com/docs/sso)

Integrates with

## Support your first enterprise customer in days

[Read the Developer’s Guide to SSO](https://workos.com/blog/the-developers-guide-to-sso)

### Single Sign-On

Your app’s first step toward enterprise adoption

#### SAML + OpenID Connect

using a single API

#### 20+

Identity providers supported

#### B.Y.O. database,  UX, and UI — we’ll provide the auth

WorkOS was designed to seamlessly fit into your existing application. With a few lines of code, you can offer the most popular enterprise sign-in options and support your biggest customers as quickly as possible.

## Clean, consistent, and modern API design

Offer SSO for any identity provider that uses SAML or Open ID Connect protocols, all in a standard OAuth2 connection wrapper.

[Read the docs](https://workos.com/docs/sso)

[Get your API key](https://workos.com/signup)

### Developer-first design

APIs with RESTful endpoints, JSON responses, and normalized objects.

### Fits your existing UX / UI

Integrate into existing login UI, authentication flows, and user communication methods.

### Your data stays with you

Bring your own database and manage your own user records — we’ll provide the auth.

### Persistable navigation state

Encode useful information to help restore application state between redirects.

Node.jsRubyPythonGoPHPJava.NETcURL

```js
// Generate an authorization URL that automatically
// directs a user to their Identity Provider

import WorkOS from '@workos-inc/node';

const workos = new WorkOS('sk_example_123456');

workos.sso.getAuthorizationURL({
  organization: 'org_01EHZNVPK3SFK441A1RGBFSHRT',
  clientID: 'client_123456789',
  redirectURI: 'https://example.com/callback',
  state: 'dj1kUXc0dzlXZ1hjUQ==',
});
```

```ruby
# Generate an authorization URL that automatically
# directs a user to their Identity Provider

require 'workos'

WorkOS.key = 'sk_example_123456'

WorkOS::SSO.authorization_url(
  organization: 'org_01EHZNVPK3SFK441A1RGBFSHRT',
  client_id: 'client_123456789',
  redirect_uri: 'https://example.com/callback',
  state: 'dj1kUXc0dzlXZ1hjUQ==',
)
```

```python
# Generate an authorization URL that automatically
# directs a user to their Identity Provider

import workos
from workos import client

workos.api_key = 'sk_example_123456'
workos.client_id = 'client_123456789'

client.sso.get_authorization_url(
  organization='org_01EHZNVPK3SFK441A1RGBFSHRT',
  redirect_uri='https://example.com/callback',
  state='dj1kUXc0dzlXZ1hjUQ=='
)
```

```go
// Generate an authorization URL that automatically
// directs a user to their Identity Provider

import "github.com/workos/workos-go/pkg/sso"

sso.SetAPIKey("sk_example_123456")

sso.GetAuthorizationURLOptions{
  Organization: "org_01EHZNVPK3SFK441A1RGBFSHRT",
  RedirectURI: "https://example.com/callback",
  State: "dj1kUXc0dzlXZ1hjUQ==",
})
```

```php
// Generate an authorization URL that automatically
// directs a user to their Identity Provider

$this->sso = new WorkOS\SSO();

$this->sso->getAuthorizationUrl(
  null,
  "https://example.com/callback",
  "dj1kUXc0dzlXZ1hjUQ==",
  null,
  "org_01EHZNVPK3SFK441A1RGBFSHRT"
);
```

```java
// Generate an authorization URL that automatically
// directs a user to their Identity Provider

import com.workos.WorkOS;

WorkOS workos = new WorkOS("sk_example_123456");

String url =
  workos
    .sso
    .getAuthorizationUrl("client_123456789", "https://example.com/callback")
    .organization("org_01EHZNVPK3SFK441A1RGBFSHRT")
    .state("dj1kUXc0dzlXZ1hjUQ==")
    .build();
```

```cpp
// Generate an authorization URL that automatically
// directs a user to their Identity Provider

WorkOS.SetApiKey("sk_example_123456");

var ssoService = new SSOService();
var options = new GetAuthorizationURLOptions
{
    ClientId = "client_123456789",
    Organization = "org_01EHZNVPK3SFK441A1RGBFSHRT",
    RedirectURI = "https://example.com/callback",
    State = "dj1kUXc0dzlXZ1hjUQ==",
};

string url = ssoService.GetAuthorizationURL(options);
```

```bash
curl --request GET \
  --url "https://api.workos.com/sso/authorize? \
  response_type=code& \
  client_id=sk_example_123456& \
  redirect_uri=https://example.com/callback& \
  state=dj1kUXc0dzlXZ1hjUQ==& \
  organization=org_01EHZNVPK3SFK441A1RGBFSHRT"
```

## Integrate popular OAuth providers like Google and Microsoft

Leverage the same Single Sign-On API interface to connect with other OAuth services. Add high-conversion authentication options without having to build and manage them yourself.

[Google OAuth](https://workos.com/docs/integrations/google-oauth)

[Microsoft OAuth](https://workos.com/docs/integrations/microsoft-oauth)

> “Integrating was straightforward, pleasant, and fun. The team answered my questions quickly, and went above and beyond to help when I ran into issues.”

Bryant Chou

Co-Founder & CTO

[Read more](https://workos.com/customers/webflow)

> “WorkOS simplified the complexity of implementing single sign-on (SSO) with multiple identity providers.”

Daniel Marashlian

Co-Founder & CTO

## The quickest way to up-market

Adding SSO is the quickest way to get a head start on enterprise adoption. Integrate SSO in a few days, free-up your roadmap, and get back to building your app.

## Transparent pricing

Enable your app to accept single sign-on from dozens of identity providers with a single integration.

0

0

×

$125

$0 / month

vs $100 to build it yourself

Need a plan that fits your scale?

Unlock annual discounts, expert guidance, and migration support.

[Schedule a call](https://workos.com/contact-sales)

### Number of connections

- 1-15
  $125 / ea
- 16-30
  20% off
  $100 / ea
- 31-50
  36% off
  $80 / ea
- 51-100
  48% off
  $65 / ea

[Need additional scale? Talk to us](https://workos.com/contact-sales)

## Built for the most demanding apps

### 99.99% uptime

Guaranteed uptime SLAs for enterprise customers

[View uptime SLAs](https://workos.com/legal/sla)

### Premium support

Expert guided integration support and response time SLAs

[View support plans](https://workos.com/support-plans)

### Custom enterprise plans

Contract-based plans tailored to your business requirements

[Contact sales](mailto:sales@workos.com?subject=Custom%20enterprise%20plans)

[Single Sign-On Quick StartJump into the docs and start building in minutes.](https://workos.com/docs/sso/guide)[Adding SSO in 7 minutesLearn the basics of SSO with this guided walkthrough video.](https://www.youtube.com/watch?v=pGyYLoBpiJk&t=1s)[Developer’s guide to SSONew to implementing Single Sign-On? This guide covers it all.](https://workos.com/blog/the-developers-guide-to-sso)
