This article describes how to use your Keycloak or RedHat SSO as SSO for Airtable. Only available for the « entreprise » plan, you can add your own SSO to your Airtable organization.

SSO feature in Airtable

Airtable has in their « entreprise » plan a support of SAML Single Sign on.

Keycloak as SSO for Airtable

https://airtable.com/pricing

The documentation explains how to proceed with Okta, Google, OneLogin, Azure AD ou ADFS. Let’s look how to integrate your Keycloak.

https://support.airtable.com/docs/configuring-sso-in-the-admin-panel

Create a client in Keycloak

Create a SAML client:

Keycloak as SSO for Airtable

Important: the client ID must be « https://airtable.com/sso/metadata0418.xml » due to « Audience » restrictions Airtable need.

Keycloak as SSO for Airtable

I filled the « IDP-Initiated SSO URL name just for having a simpler URL.

Get « Target IDP initiated SSO URL », we will use it later.

Airtable need email in NameID field:

Keycloak as SSO for Airtable

Add a mapper for the Audience

In the new Admin UI in Keycloak, you have to open « Client scopes » section, then click on the first scope for custom mappers.

Keycloak as SSO for Airtable
Keycloak as SSO for Airtable
Keycloak as SSO for Airtable

Then, define the mapper.

Keycloak as SSO for Airtable

Get the cert

You have 2 choices :

  • from the « realm settings », open « SAML 2.0 Identity Provider Metadata », then get the cert
keycloak as SSO for Airtable

Or from « Keys », get the rsa key used for signature :

Keycloak as SSO for Airtable

Register your SSO in Airtable

Go to « Add SSO identity provider », then:

Keycloak as SSO for µAirtable

in the « sign-in URL », paste your « Target IDP initiated SSO URL » got previously.

in the X.509 certificate field, add your certificate between:

-----BEGIN CERTIFICATE-----

and

-----END CERTIFICATE-----

You’re done ! now your Keycloak is your SSO for Airtable!

Mathieu PASSENAUD
Les derniers articles par Mathieu PASSENAUD (tout voir)