These guides help you configure SAML 2.0 and OpenID Connect (OIDC) with your Identity Provider for Basic SSO. Hugging Face Hub can work with any SAML or OIDC-compliant Identity…
Configuration Guides
Warning This feature is part of the Team & Enterprise plans.
These guides help you configure SAML 2.0 and OpenID Connect (OIDC) with your Identity Provider for Basic SSO. Hugging Face Hub can work with any SAML or OIDC-compliant Identity Provider.
Note If you are looking to set up Managed SSO, the configuration is done in collaboration with the Hugging Face team. Please contact us to get started.
Tip OIDC token endpoint authentication method. When exchanging the authorization code, Hugging Face authenticates to your Identity Provider's token endpoint using the
client_secret_postmethod. If your IdP application is configured to expect a different method (such asclient_secret_basic), the login will fail with aninvalid_clienterror. To resolve this, set your IdP application's token endpoint authentication method toclient_secret_post.
Okta
- How to configure OIDC with Okta
- How to configure SAML with Okta
- How to configure SCIM with Okta
Microsoft Entra ID (Azure AD)
- How to configure SAML with Entra ID
- How to configure OIDC with Entra ID
- How to configure SCIM with Entra ID
Google Workspace
- How to configure SAML with Google Workspace
- How to configure OIDC with Google Workspace
Source and license
Source: Hub documentation, adapted for this site. Licensing and attribution follow the terms of the upstream project.