Skip to main content

SSO Configuration

VaultysHub acts as an identity provider (IdP) and supports two SSO protocols: SAML 2.0 and OpenID Connect (OIDC). Your external applications delegate authentication to VaultysHub — your users log in once and access all their applications.

Accessing Authentication Configuration​

From the list of applications, open the action menu of an application, then click on Edit.

Click on Edit to access the application settings

On the application page, select the Authentication tab. Then choose the desired protocol from the dropdown menu: SAML2 or OIDC.


SAML 2.0 Configuration​

Select SAML2 from the dropdown menu to enable this protocol.

01.authentication-tab---saml-type-selected

Service Provider Settings​

The Service Provider tab contains the information of the external application (SP) to declare in VaultysHub so that it can send SAML assertions to it:

ParameterDescription
Entity IDUnique identifier of the external application (Service Provider)
ACS URLURL of the external application that receives SAML assertions (Assertion Consumer Service)
SLO URLLogout URL of the external application (Single Logout Service)
CertificatePublic certificate of the Service Provider to verify its signed requests
Private KeyPrivate key of VaultysHub to sign assertions sent to the Service Provider

Fill in the parameters provided by your external identity provider

Identity Provider Settings​

The Identity Provider tab exposes the endpoints of VaultysHub (IdP) to be filled in your external application:

ParameterDescription
Entity IDUnique identifier of VaultysHub as an identity provider
SSO URLSSO endpoint of VaultysHub where the application redirects the user
Metadata URLURL of the XML metadata file of VaultysHub (automatic import possible)
MetadataRaw content of the metadata file

Advanced options allow adjusting the behavior of the signature and the protocol:

OptionDescription
Sign assertionsVaultysHub signs the SAML assertions sent to the Service Provider
Sign requestsVaultysHub also signs the entire SAML response (the message), in addition to the assertion. The response is signed anyway if the assertions are not.
Use HTTPAllows HTTP connections (not recommended in production)

03.saml-identity-provider-config


OIDC Configuration​

Select OIDC from the dropdown menu to enable the OpenID Connect protocol.

04.authentication-tab---oidc-type-selected

Provider Settings​

The Provider Settings tab exposes the OIDC endpoints automatically generated by VaultysHub:

EndpointDescription
Discovery EndpointAutomatic discovery URL for OIDC configuration
Authorization EndpointOAuth2 authorization URL
Token EndpointURL to exchange the authorization code for a token
JWKS EndpointURL of the public keys for signing tokens
Userinfo EndpointURL to retrieve user information

It also allows configuring:

  • Client Secret: shared secret between VaultysHub and your client application
  • PKCE: strengthening the security of the authorization code flow (recommended)
  • Subject Identifier: field used as a unique identifier for the user in the tokens (membershipId or email address)
  • Allowed Scopes: scope of accessible data (openid, profile, email, phone)
  • Redirect URIs: allowed URLs for redirection after authentication

05.oidc-provider-endpoints

06.oidc-scopes-and-redirect-uris

Client Configuration​

The Client Settings tab provides a ready-to-use code example to integrate VaultysHub as an OIDC provider in your application.

07.oidc-client-settings


Transmitting User Groups​

In OIDC as in SAML, VaultysHub can send the list of groups of the user to the application at each login, so that it can place them immediately in the correct groups or roles. These groups are defined by a mapping between your VaultysHub folders and the group names of the application, in the Groups section of the Authentication tab. They are transmitted in the groups claim of the ID token and the userinfo response in OIDC (the application must request the groups scope, and Send Groups must be checked), or in a multi-valued groups attribute of the assertion in SAML; the name of the claim or attribute is modifiable. See Groups for detailed configuration and examples.


Integration Guides​

Step-by-step guides are available to configure SSO with more than twenty common applications (GitLab, Nextcloud, Grafana, Odoo, GLPI, Lucca, Proxmox…). You can find them all on the SSO Integrations page.