sintoniadocs
Administration

Identity providers

Configure Okta, RHSSO, SAML and LDAP/Active Directory.

On this pageRegistering a providerOpenID Connect: Okta e RHSSOSAML 2.0LDAP and Active DirectoryLinking of accounts and re-alignmentReference HTTPEvidence and validation limitsDelivery after binding

The installation can offer native login and optional external providers. The configuration is in Administration → Identity Providers, available to the installation administrator. No provider is created or enabled automatically. Okta and Red Hat SSO (RHSSO/Keycloak) use OpenID Connect or SAML 2.0. . Directories LDAP/Active Directory use bind with TLS, exclusively in mode selfhost. .

The login identifies the person. Access to encrypted messages continues depending on the device's authorization by QR or recovery of the encrypted backup. IdP doesn't get the keys to the conversations and can't restore them. New provisioned accounts receive only the membership function in the chosen workspace, respecting their capacity.

Registering a provider#

  1. Choose the protocol and a name that will appear in the login.
  2. Choose workspace for new accounts. The Allow new accounts by provider option starts disabled. If it is turned off, users need to link an existing account in advance.
  3. Fill in the IdP data, save initially disabled and copy your ID. Configure callbacks in IdP and then enable the connection.
  4. In the Sintonia login, choose the server and Login with corporate account. Choose the provider, open the browser and return to the application after completing the entry. The same stream serves both web and native applications.

Client/consult credentials are encrypted with the installation's operating key in its own domain. They are not returned by administrative queries; leaving the credential empty in the edition preserves the current one. The bank's Backups must also preserve this operational key. In legacy saas mode, set up WEBHOOK_ENCRYPTION_KEY before registering providers.

Type, workspace and trusted identifiers (issuer/clientId OIDC, Entity ID SAML, URL/DN base/identity attribute LDAP) cannot be exchanged in the same record. Register another provider to migrate identity. Endpoints and certificates need to be maintained by the administrator, including during rotation.

OpenID Connect: Okta e RHSSO#

Register an application confidential with Authorization Code, PKCE S256 and client_secret_basic authentication. Release the openid profile email scopes. The identity token must have stable sub and email_verified=true.

Portal fieldValue
IssueExact I.D. token emitter.
Client ID/client secretApplication credentials in IdP.
Public origin of backendE.g. https://chat.exemplo.com, without /api, path or final bar.
Authorization endpointEndpoint authorization_endpoint published by IdP.
Token EndpointEndpoint token_endpoint.
Endpoint JWKSEndpoint jwks_uri.

Callback: https://BACKEND/sso/oidc/ID_DO_PROVEDOR.

In the Okta, use the issuer specified in authorization server; common endpoints are ISSUER/v1/authorize, ISSUER/v1/token and ISSUER/v1/keys. . No RHSSO/Keycloak, the issuer identifies realm, for example https://idp.exemplo.com/realms/empresa (old distributions may include /auth); the endpoints remain in ISSUER/protocol/openid-connect/auth, token and certs. . Check the values in the OpenID configuration published by your IdP. O Sintonia uses explicitly configured endpoints; does not perform automatic discovery.

Spring Security checks signature, issuer, audience, validity, status, nonce and the Authorization Code exchange with PKCE. OAuth 2.0 without OpenID Connect is not accepted as login.

SAML 2.0#

Configure Entity ID and URL of IdP SSO, X.509 PEM certificate to check signatures and email attributes and name. Use a Persistent and stable nameID, separated from the email address. The name attribute is optional; the email identifies the contact address, not the account link.

  • SP Entity ID and metadata: https://BACKEND/saml2/metadata/ID_DO_PROVEDOR.
  • Asseration Consumer Service: https://BACKEND/sso/acs/ID_DO_PROVEDOR.
  • Entry initiated by SP: HTTP Redirect; IdP response: HTTP POST.
  • Sign the assertions. The Spring Security/OpenSAML validates signature, audience, recipient, deadlines and correlated request. A response without the flow started in the application does not complete login.

The first version does not sign AuthnRequests or supports encrypted assertions, IdP-initiated login or Single Logout SAML. Do not enable in the IdP a signed AuthnRequest requirement without implementing this capacity in the SP.

For the correlation cookie to cross IdP's POST in production HTTPS, configure SSO_COOKIE_SAME_SITE=none and SSO_COOKIE_SECURE=true. The proxy should forward to the backend keeping HTTPS public. The local standard is lax and false, suitable for loopback development; use the above HTTPS configuration for providers on another site.

LDAP and Active Directory#

Direct LDAP is available only at your own facilities. In legacy mode saas, publish the directory for an IdP OIDC/SAML; do not display a domain controller for this purpose.

FieldLDAPActive Directory
URLldaps://ldap.exemplo.com:636ldaps://dc.exemplo.com:636
DN basedc=empresa,dc=comdc=empresa,dc=local
Consulting accountDN with minimal search accessService account DN with enabled search
User filter(uid={0})(sAMAccountName={0}) or (userPrincipalName={0})
Stable identifierentryUUIDobjectGUID
E-mail / namemail / displayNamemail / displayName

The {0} parameter is escaped by Spring's LDAP search. The server searches the DN and binds with the user password; it is not persisted. objectGUID binary is normalized in Base64 to identify the link. Do not use username or email as a stable identifier: they can change or be reused.

They are required LDAPS and certificate/hostname validation. Install corporate CA in the truststore of JVM; do not disable validation TLS. . There are time limits and attempts by provider/user. Empty credentials are denied. Referrals aren't followed. There's no Kerberos. NTLM, Integrated Windows Authentication or synchronization SCIM/groups in this version. Blocks and deactivation in the directory are applied by the server LDAP during the bind.

Linking of accounts and re-alignment#

An email equal to does not merge accounts. Enter the native account and open Profile and notifications → Link corporate login. Confirm the Sintonia password and report to IdP/Directory. An external identity already linked to another account is refused. The account maintains your IDs, devices and history.

Accounts created exclusively by the provider do not gain a native password by email: recovering the corporate password is IdP's responsibility. Encrypted message backup continues using its independent recovery password. To confirm sensitive operations in these accounts, recent authentication is required in the provider (five minutes); the client opens the corporate login again when necessary and requires the same account. Do not enter the IdP password in a Sintonia native password form.

Sessions originated by IdP are linked to the provider. Disable it blocks these sessions and new entries; native sessions of previously linked accounts continue to follow the native policy. Removing an IdP user does not immediately delete a Sintonia session already issued within the installation validity policy: also disable the local account for immediate locking. There is no real-time removal provisioning or SSO requirement by workspace in this version.

It is not considered MFA automatically just because a login used IdP. When the account has TOTP native active, the flow still asks for this factor. The visual registration of TOTP and the remembered devices are implemented; automatic acceptance of evidence of IdP MFA remains separate. See 2FA and device confidence.

Reference HTTP#

MethodRoute after /apiUsage
GET/auth/providersPublic list of enabled providers: ID, name and protocol.
GET / PUT/admin/identity-providers / /admin/identity-providers/{id}Consult/registrate/edit; PUT requires administrator password.
POST/auth/external/{id}/startproof: SHA-256 hexadecimal random verifier maintained in the application. Returns relative flow and browserUrl.
POST/me/identity-providers/{id}/linkSame proof, more password; links only after external authentication.
POST/auth/external/{id}/directoryusername, directory password and proof. For link, Bearer session and Sintonia loginPassword.
POST/auth/external/flows/{flow}/completeverifier; returns hanging while waiting or a MFA session/ challenge, once.

The verifier uses at least 256 random bits and remains in the client. The flows last five minutes and the bank stores its hash. IdP session tokens and tokens are not placed in the URL return to the application. Cookies and correlation data require session affinity when performing multiple replicas, or a shared session storage.

Evidence and validation limits#

Local tests include a OIDC emitter signed with PKCE/nonce, signed SAML assertions (including refusal by audience, change and repetition) and LDAPS directory with test CA (including unreliable certificate refusal, incorrect password and malicious filter). No actual credentials of Okta, RHSSO or a Windows domain controller were used. Approval with the organisation provider is still required.

References: Spring Security OIDC, SAML and LDAP.

Delivery after binding#

Approving the device triggers key distribution in the authorized workspaces. The new device receives delivery events and tries again the pending conversation every three seconds. Local reading does not expect to end uploads to the other devices. You need to keep a device that already holds the keys connected until you complete the delivery in private conversations; this does not make the server custodian. Public channels managed by the server do not depend on another online participant. Identities, signatures, generations and repeals are still verified.

Search channels, QR codes, uploads, security…

↑ ↓ navigate ↵ open result