Single sign-on with other providers
SAML 2.0
Section titled “SAML 2.0”MoreVoice is a SAML 2.0 service provider (SP) with the Web Browser SSO profile: sign-in requests go out with the HTTP-Redirect binding, answers come back to the ACS with HTTP-POST. Start with verifying your domain, then SecuritySingle sign-onSet up single sign-on → Other SAML 2.0 provider.
What to configure in your IdP
Section titled “What to configure in your IdP”| Setting | Value |
|---|---|
| ACS / Reply / Consumer URL | ACS URL from the wizard: https://YOUR-HOST/api/auth/saml/<connection id>/acs (also Recipient and Destination) |
| SP Entity ID / Audience | Entity ID from the wizard: https://YOUR-HOST/saml/<connection id> |
| SP metadata | the wizard’s Our SAML metadata URL, or Download the XML and upload it to the IdP |
| Name ID | the person’s email address, format urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress |
| Signing | the assertion must be signed, with RSA-SHA256 (SHA-1 only if you allow it explicitly — not recommended) |
| Attributes | email, firstName, lastName, and groups (multi-valued) for group mapping |
| Session / validity | assertions are accepted within 120 seconds of clock difference by default (0–300 configurable) |
If your IdP uses other attribute names (for example URIs), enter them in the wizard’s People → Attributes step. An email attribute is required (or an email-format Name ID). To recognise people by an attribute that never changes (rather than the Name ID), set Immutable ID.
What MoreVoice needs from your IdP
Section titled “What MoreVoice needs from your IdP”Import the IdP’s metadata (upload the XML, or paste its URL: MoreVoice fetches it over https) or enter manually:
- Identity provider sign-in URL — the HTTP-Redirect SingleSignOnService location;
- Identity provider entity ID — every response must come from exactly this issuer;
- Signing certificate — PEM or base64; paste two during a rollover.
Security options (Advanced)
Section titled “Security options (Advanced)”| Option | Default | When to change it |
|---|---|---|
| Require a signed response | off | turn on if your IdP signs the whole response too |
| Require an encrypted assertion | off | turn on if your IdP encrypts assertions to the certificate in our metadata (contact support first: the server’s SAML key pair must be configured) |
| Sign sign-in requests | off | if your IdP requires signed AuthnRequests (also needs the SAML key pair) |
| Allow sign-in from the provider’s portal | off | IdP-initiated sign-in from a portal tile. Off is safer: sign-ins then always start at MoreVoice and every answer must match a request we sent |
| Accept SHA-1 signatures | off | only for legacy IdPs that can’t sign with SHA-256 |
| Allowed clock difference | 120 s | 0–300 s |
MoreVoice always refuses: unsigned assertions, signatures by a certificate you didn’t configure, DOCTYPE / ENTITY declarations, replayed assertions, answers meant for another connection, wrong audience or recipient, and expired or not-yet-valid assertions.
Then test and activate. For provisioning, see SCIM if your IdP supports SCIM 2.0, else use just-in-time sign-up (People → Create accounts at first sign-in).
OpenID Connect
Section titled “OpenID Connect”MoreVoice is an OpenID Connect relying party using the authorization code flow with PKCE (S256), state and
nonce, and a confidential client. Start with verifying your domain, then
SecuritySingle sign-onSet up single sign-onOther OpenID Connect provider.
In your provider
Section titled “In your provider”- Create a web application (confidential client) with the authorization code grant.
- Allowed redirect / callback URI: the wizard’s Redirect URI (
https://YOUR-HOST/api/auth/sso/oidc/callback, the same for every OIDC connection). - Allow the scopes
openid email profile(andgroups, or whatever scope your provider uses for group claims). - Copy the issuer URL, client ID and client secret.
In MoreVoice
Section titled “In MoreVoice”Connection step:
| Field | Value |
|---|---|
| Issuer URL | the URL whose /.well-known/openid-configuration describes your provider (https). Every token’s iss must equal it. |
| Client ID / Client secret | from your provider. The secret is stored encrypted and never shown again. |
| Client authentication (Advanced) | client_secret_basic (default) or client_secret_post |
| Extra scopes (Advanced) | added to openid email profile, for example groups |
| Trust the email without email_verified (Advanced) | for providers that don’t send email_verified. email_verified: false is always refused. |
| Ask the UserInfo endpoint for missing claims (Advanced) | on by default: used when the ID token has no email or groups |
People step: the standard claims (email, given_name, family_name, groups) are preset; change them if your
provider uses other claim names. The person is recognised by sub unless you set an Immutable ID claim.
ID tokens must be signed with an asymmetric algorithm published in the provider’s JWKS (RS256, ES256 …); unsigned
(alg: none) and HMAC-signed tokens are refused. The iss authorization-response parameter (RFC 9207) is checked
when the provider sends it.
Then test and activate. For provisioning, see SCIM or use just-in-time sign-up.