Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SSO setup #38

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
12 changes: 7 additions & 5 deletions pages/introduction/quick-start/self-hosting/sso-setup.mdoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Cal.com supports both Security Assertion Markup Language (SAML) and OpenID Conne

This guide explains the settings you need to use to configure SAML with your Identity Provider. Once this is set up you should get an XML metadata file that should then be uploaded on your Cal.com self-hosted instance.

> **Note:** Please do not add a trailing slash at the end of the URLs. Create them exactly as shown below.
{% note %}Please do not add a trailing slash at the end of the URLs. Create them exactly as shown below.{% /note %}

**Assertion consumer service URL / Single Sign-On URL / Destination URL:** https://<url for your self-hosted instance>/api/auth/saml/callback [Replace the placeholder with the URL for your self-hosted Cal instance]

Expand All @@ -42,13 +42,15 @@ This guide explains the settings you need to use to configure SAML with your Ide

**Mapping Attributes / Attribute Statements:**

http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier -> id
Name ID format -> email
> Identifies the SAML processing rules and constraints for the assertion's subject statement. Use the default value of 'Unspecified' unless the application explicitly requires a specific format.

http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress -> email
Application username -> email
> Determines the default value for a user's application username. The application username will be used for the assertion's subject statement.

http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname -> firstName
firstName (Basic Format) -> firstName

http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname -> lastName
lastName (Basic Format) -> lastName

### Setting up OIDC login

Expand Down