Why teams run several authentication services in OX App Suite 8
Teams run several authentication services in OX App Suite 8 for one practical reason: an identity change rarely happens for every user on the same day. An SSO rollout may need to start with one department while the rest keep existing logins, or a tenant may include contractors, shared mailboxes and service accounts that cannot sign in the way employees do. In OX App Suite, the login path is not a single switch. The middleware can be configured with several authentication services and ranks them, so the platform tries them in a defined order for a given request. The reader's first job is to list which user groups need a different path and what each group actually needs to do: sign in to the web UI, reach mail over IMAP, or sync with a client.
The supplied documentation supports OpenID Connect for single sign-on in the App Suite, and it also documents SAML login configuration for the middleware. Those two are the methods the reader can plan around with confidence. Database login remains the fallback most installations start from. Whether IMAP or LDAP authentication can be combined with these in your release, and how the ranking applies to each of them, should be confirmed with Open-Xchange against the exact version you plan to deploy. Read the OX App Suite OIDC documentation first, since it defines the login behavior your ranking has to respect.
A single method is enough when every user signs in the same way, when there is one identity source, and when no service account or client needs a separate credential. In that case, adding services mainly adds failure modes. Multiple services make sense when an SSO rollout has a defined end state and a time-limited coexistence period, or when a group must keep a credential the main identity provider cannot issue. Before you commit, write down the order in which each user group should be tried, what happens when an earlier service rejects a login that a later one would accept, and how you will audit which service authenticated each session. Those answers shape the configuration far more than the choice of protocol.
Which login methods can share one deployment
OX App Suite can combine several login sources in one deployment, but each backend answers a different question: who owns the password, who signs the session, and who supplies the directory entries. The cards below treat each candidate as a parallel component, with the job it does and the point to confirm for the target release before you rank them.
Database authentication
The built-in store keeps credentials in the App Suite database, so it is the fallback that works without any external identity system. It matters during an SSO rollout because it gives administrators a way in if the identity provider is unavailable. Check which accounts must keep a local password, how those passwords are rotated, and whether the fallback can be restricted to named administrators for the target release.
OpenID Connect login
OIDC makes the identity provider the place where users authenticate, and App Suite trusts the resulting ID token to resolve the user and context. The separate sibling topic on OX App Suite single sign-on with Keycloak covers the flow steps, so this card only sets the scope. Confirm which claims your release uses to match users and which contexts a token can reach.
SAML 2.0 login
SAML is a second federated option for organizations whose identity provider speaks SAML rather than OIDC. The operator-specific backend validates assertions and decides which user an assertion maps to, and several backends can sit on different paths. The sibling topic on OX App Suite SAML 2.0 single sign-on covers the configuration. Confirm the binding and logout behavior your identity provider needs.
IMAP authentication
Mail login can check credentials against the mail server behind App Suite, which matters for users whose mailboxes already live on a separate IMAP platform. It changes which system is the source of truth for the password, and it needs a clear answer for users who also sign in through SSO. Confirm how IMAP-backed logins interact with OAuth bearer tokens passed to Dovecot and with application passwords for clients.
LDAP authentication
An LDAP or Active Directory bind can verify passwords for users who already exist in a corporate directory. Separate from the contacts provider that shows the same directory as address books, this is a login decision. Confirm the bind account, the search base, how disabled or moved accounts are handled, and whether LDAP and SSO can both resolve the same user without creating duplicates.
Ranking and ordering conflicts
When several backends accept the same username, the order decides which one answers. A user group that falls through to a weaker source can bypass the intended control, so the ranking is a security decision as well as a routing one. Before go-live, list every backend, the users each one should serve, and the test that proves a leaver cannot authenticate through a lower-ranked source.
Ranking options and when each fits
This table compares four ways to rank database, OIDC, IMAP and LDAP authentication services in one OX App Suite deployment. Read each row for the situation it suits, how a failed or ambiguous login behaves, and what the operator must keep current after go-live.
| Pattern | What it suits | Failed or ambiguous login | What the operator must maintain |
|---|---|---|---|
| Database first, OIDC fallback | Keeping local accounts as the primary path while a small group of users is trialed on SSO | Users who exist in the database authenticate there and never reach the identity provider, so an SSO outage does not block them but also does not enforce SSO for them | Confirm which accounts are local and which are federated, and remove local passwords for users who must use SSO |
| OIDC first, database fallback | An SSO rollout where the identity provider is the system of record and local accounts remain as a break-glass path | If the identity provider is down, logins fall through to the database, which can leave a sign-in path that bypasses SSO and MFA | Restrict the fallback to named administrators, monitor its use, and confirm whether MFA applies on that path before go-live |
| Per-user-group paths | Different populations, such as contractors, shared mailboxes or regional tenants, that use different directories or protocols | Ambiguous when a user matches more than one path or none; the outcome depends on how the paths are ranked and scoped | Keep a written mapping of groups to paths, test edge cases such as users in two groups, and review the mapping at every joiner and leaver change |
| Staged cutover with fallback kept | Moving a population from one authentication source to another in waves, with a defined end date for the fallback | During the rollout, a user can authenticate against either source, so a password change in one may not match the other | Set a retirement date for the fallback, track which users remain on it, and confirm the rollback steps with the vendor documentation for your release |
How ranked services decide which login wins
When several authentication services are configured in one OX App Suite 8 deployment, each login attempt is handed to them in a fixed order, and the first service that accepts the credentials ends the attempt. The ranking is the control you own. Put the service that should win for most users first, and treat every later service as a fallback that only runs when the earlier ones have not produced a successful login. Before you rank anything, write down, for each user group, which service is expected to authenticate them and what should happen when that service is unavailable or rejects the password. That table is the reference you will test against.
The practical question is when a later service is consulted at all. In a mixed setup, such as an OIDC service placed ahead of a database service during an SSO rollout, you need to know whether a failed or unreachable first service passes the attempt on, whether a rejected password does the same, and whether a user who exists in the first service but is disabled there can still fall through to a second service with a matching account. Those are the cases where an unintended login path usually appears. Confirm each of them against the App Suite 8 login documentation for your exact target release, because the exact resolution behavior, account matching rules and duplicate-identity handling are release-dependent and should not be inferred from general descriptions of ranked lookups.
Duplicate identities need a decision before go-live. If the same person can exist as a database account, an LDAP entry and an identity-provider subject, you must decide which record is authoritative, how users are matched across sources (by login name, mail address or a stable identifier), and what happens when two sources disagree. Test this with a scripted set of illustrative accounts in a lab tenant: a correct password on the first service, a wrong password there with a valid one on the second, a disabled account, an unreachable service and a mismatched mail address. Record the outcome of each, keep the results with your change records, and repeat the set after every ranking change or upgrade.
How a login request moves through ranked services
The login starts in the user's browser and reaches the login front end, which tries the configured authentication services in rank order: database, OIDC, IMAP, then LDAP. Each service either validates the credentials or passes the request on, and the first success moves to user or context resolution before a session is created. A failed chain returns the user to the login page, so check the rank order and what each service resolves before you enable it.
Ranked authentication services, the trust boundary and the session created after success.
Setting up several services in a planned order
This sequence moves an OX App Suite deployment from one login method to several ranked services without locking out any user group. Each step ends with a check that confirms which path a user took and what session was created.
Inventory user groups and their current login
Start by listing every user group that signs in today, along with the method each one uses: a local database password, an existing LDAP or Active Directory bind, IMAP credentials, or an identity provider such as Keycloak. Record which groups must keep working during the rollout, which are moving to single sign-on, and which contractors or service accounts sit outside both. Your identity team and the mail operations team should sign off on this list. The step is done when every group has one owner and one documented current login path.
Confirm the target release and its login backends
Check which OX App Suite 8 release you will run and which authentication services that release supports in your configuration, using the OX App Suite requirements and the OpenID Connect and SAML documentation. Confirm the Kubernetes, Istio, Helm and Redis versions the release expects, since login changes are tested against that stack. Ask Open-Xchange or your partner to confirm in writing which backends can be ranked together and whether any combination needs a custom setting. The check is a short written matrix of release, backends and known limits that the project team accepts.
Configure the primary authentication service
Set up the service that most users should reach first, usually the OIDC identity provider for the group moving to single sign-on. Register the OX App Suite client with the identity provider, set redirect URIs for your public hostname, and map the claims that resolve the context and user. Keep the existing database login active so administrators can still sign in during the change. The check is a successful sign-in by a test account from the browser, with the login path recorded and a session created that expires as your policy requires.
Add each fallback service in ranked order
Add the remaining services one at a time in the order your design defines, for example an LDAP directory for a legacy group, then IMAP for a group that authenticates against the mail platform, then the database login as the last resort. Each service gets its own ranking entry, so OX App Suite tries them in sequence and stops at the first match. Do not enable a new service for all users at once. The check is that each added service is reachable from its own test account and that the ranking order matches the written design.
Test each login path with a test account per group
Create one test account for every user group and run a full sign-in, then a mail or calendar action, then sign-out, through the path that group should use. Also test a wrong password and an account that belongs to a different group, so you know a user cannot fall through to a service they should not reach. Review the login logs and the session records for each test to confirm the backend used and the session created. The step is done when every group and every negative case produces the result in your written design.
Confirm session behavior after login
Verify what happens after sign-in, including session lifetime, logout from the web UI, and how client applications that use application passwords or tokens behave. Check that a user who authenticated through one backend cannot switch to another path without a fresh login. Record any gap between the identity provider session and the OX App Suite session so operators know what a leaver sees. The check is a documented table of session behavior per group, reviewed by the security team.
Set and rehearse a rollback plan
Write down how to remove or disable each ranked service and restore the previous login configuration without losing user data, including who approves the change and where the prior configuration is stored. Rehearse the rollback in a lab or staging environment using the same release and test accounts. Keep the database login available until the rehearsal and the first production week have passed without an access issue. The step is done when the rollback has been run once in a non-production environment and the owner can name the steps from memory.
Security risks when more than one login path is open
Each additional authentication service in an OX App Suite deployment is another way in. The risks below share a root cause: a login path that is less controlled than the SSO and MFA path the organization intends to enforce. Each card pairs a risk with the control to plan before the path goes live.
Weaker fallback bypasses SSO or MFA
A database or IMAP login path can accept a password without the identity provider's checks, so a user may sign in without the second factor that applies to the SSO route. Plan the ranking so the fallback is only reachable for accounts that need it. Check which services are tried first, whether the fallback path applies to the web UI, and whether MFA is enforced on every path that reaches the web UI, as described in the sibling multifactor topic.
OIDC docsAccount takeover through mismatched identities
When OIDC, LDAP and IMAP resolve the same person to different account names, a login in one service can reach another user's mailbox or contacts. Confirm that every service maps to one stable identifier per user. Test with accounts that share a display name or a prefix, and review how the ID token claim, LDAP attribute and mail login are matched before enabling a second service.
Stale fallbacks left enabled
Once SSO is live, an old database or LDAP service often stays enabled because nobody removed it during cutover. Record a retirement date for each temporary service and remove it from the ranking. Review the list after each rollout wave, and confirm that accounts which were migrated can no longer sign in through the legacy path.
Logging gaps on unclear login sources
If logs do not record which authentication service accepted a login, an investigation cannot tell a legitimate SSO session from a password guess against a fallback. Plan for each login event to name the service, the client and the result. Confirm with the vendor which events the middleware records, how long they are kept, and whether they reach your central log platform.
Inconsistent policy across services
Lockout, password rules and session length are often set separately for each service, so the weakest setting decides the real protection. Write one policy for lockout and session behavior and apply it to every service. Compare the settings of each path against that policy during testing, and note any service that cannot match it so the exception can be approved and tracked.
Operating ranked logins after go-live
The first day-two question after a ranked login setup goes live is which service actually authenticates each user, so log the authentication service used for every successful and failed login before anyone relies on the ranking. Without that record, a fallback that was meant for a handful of accounts can quietly carry most of the traffic, and nobody notices until an SSO outage or a password reuse finding forces the question. Confirm with your OX App Suite operations team which login events the middleware writes, where they land, and how long they are kept, and set an alert for any change in the share of logins handled by a fallback service. Review the same view for failed attempts, since a rising count on one service often points to a directory or certificate problem rather than user error.
Fallbacks should have an owner, a stated reason and a review date, and they should be retired on a schedule rather than left in place by default. Each time the ranking is reviewed, compare the users still on a non-SSO service against the list of groups the fallback was meant to cover, and remove any service that no longer serves a defined group. Treat removal of a fallback as a change that needs a rollback plan, because the same ranked configuration that routes users to a service is also what keeps a locked-out user able to get in. Confirm the review cadence with your security and compliance leads, and record each decision so an auditor can see why a service was kept or retired.
Leavers are the place where ranked services most often drift apart, because deprovisioning in the identity provider does not automatically remove a local database account or an LDAP-backed entry that still resolves. Map every service in the ranking to the offboarding step that disables it, and test that a leaver cannot sign in through any of them, including the fallback path. The mechanics of provisioning and directory lookup are covered in the sibling topics, so focus here on verification: run a periodic check that samples accounts marked inactive in the source system and attempts a login path for each service. Keep the configuration in change control as well, so that ranking changes, new services and credential rotations go through the same approval and logging as other production changes, and tie that record to the OX App Suite requirements and your own release process.
Limits to confirm before you commit to this design
Running several authentication services in one App Suite 8 deployment depends on backend support, ranking behavior and the client paths that stay outside the web login. The cards below list what to verify in your own environment, against the release you plan to run, before you fix the design.
Backend combinations in your release
Confirm which login backends your target App Suite 8 release supports together in one deployment, including database, OIDC, IMAP and LDAP. Support for a single backend does not guarantee that a mixed chain behaves the same way. Ask Open-Xchange to confirm the combination in writing for the exact release, since a backend can work alone and still conflict with another in the chain.
Requirements docsHow the ranking is configured
Verify how authentication services are ranked, how the order is set in configuration, and what happens when the first service rejects a login or is unreachable. Test a user from each group against the real chain, including a user who exists in more than one source. A ranking that looks correct in a diagram can still send a login to the wrong backend.
Mail and Drive client authentication
Confirm whether IMAP, SMTP, ManageSieve, CalDAV, CardDAV and Drive clients can still authenticate through their own paths once SSO or a new backend is added. Clients that cannot run a browser login typically depend on stored credentials or application passwords. Plan each client path separately, and do not assume the web login chain covers them.
MariaDB version and storage engine
Check that the MariaDB version in your plan is one of the supported 10.6.x, 10.11.x, 11.4.x or 11.8.x releases, and that the database uses the InnoDB storage engine. If you use Galera Cluster, confirm that Open-Xchange supports your exact topology. Authentication data and user state live in this database, so a version mismatch affects every login path.
Redis version for sessions
Confirm the Redis version your deployment uses for caching and session storage, and whether it is deployed through the littlered operator or as an unmanaged or custom setup. Sessions created by one authentication service must survive failover and pod restarts across the chain. Test session behavior after a backend change before you move users.
- Redis version
- 7.4.x
Licensing and separate fees
Ask whether the modules or features you need for this design are included in your license agreement. Open-Xchange documents that certain modules or features may be subject to custom packaging, limitations or separate fees set in that agreement. Get this answer in writing as part of the quote, because a multi-backend design can depend on a feature that is priced separately.
Operations GuideQuestions teams ask before running several login services
How much more effort does running several authentication services add over one SSO method?
Running several services adds effort mainly in ordering, testing and support, not in any single configuration. Each service (database, OIDC, IMAP or LDAP) has its own user matching, failure behavior and log trail, so the team must test every login path and every ranking decision against real user groups. A single SSO method can be validated once. A combined setup needs a test matrix that covers each path, each user type and each fallback. The added work is usually largest during an SSO rollout, when old and new methods run side by side and users move between them.
What drives the work up or down in a multi-service login setup?
The main drivers are the number of services, how users are split across them, and how much identity data the services share. Work goes up when the same username can match more than one service, when group rules depend on claims from an identity provider, or when a rollout must keep old passwords working for a long period. Work goes down when user groups are cleanly separated, when the ranking order is short and documented, and when the team has already run one of the methods in production. Ask the partner which of these factors apply to your directory before accepting a scope.
Can our internal team set up several login services without outside help?
Often yes, if the team already operates OX App Suite on Kubernetes and has owned an identity provider and a directory. The harder parts are the authentication ranking, the mapping of users between sources, and the test plan that proves a user lands in the right service. Teams without recent experience in OIDC, SAML or LDAP tend to spend most of their time on those areas. Consider an outside partner for the design and test phases, and keep the day-to-day operation with your staff. Confirm the exact configuration options in the official OX App Suite documentation for your release before planning the work.
How long does testing a multi-service login setup take?
Testing time depends on the number of login paths, the number of user groups and the number of environments that must be covered. Plan a separate test pass for each service, another for each ranking rule, and a final pass that simulates a rollout with real accounts in a staging environment. Failed logins, locked accounts, password changes and leaver handling all need explicit test cases. A written test plan that lists these cases makes the duration easier to estimate, and a partner should state the duration in the written scope rather than as a general promise. No fixed figure applies to every organization.
What cost components apply, and which ones are one-time or recurring?
Expect four cost components. First, design and configuration work, which is one-time. Second, testing and cutover support, which is one-time but repeats if a rollout is staged. Third, the identity provider, directory and infrastructure you already run or add, which may recur as licenses or hosting. Fourth, ongoing operations such as reviewing logs, rotating secrets and handling user-group changes, which recur. Licensing terms in your OX App Suite license agreement can also affect cost, because some modules or features may carry separate fees or custom packaging. Read that agreement before comparing quotes.
What should we request in a written scope before work starts?
Ask for a written scope that lists each login service in use, the ranking order, the user groups and how each one maps to a service, and the fallback behavior when a service is unavailable. Also request the test plan with named test cases, the environments used for testing, the cutover steps, the rollback steps, and the handover items such as configuration files and runbooks. Confirm which OX App Suite release and Helm chart version the design targets, which Kubernetes and Istio versions apply, and which licensing terms cover the features in use. Request a clear list of what is excluded, including identity provider changes and directory clean-up.
Who owns the service after the rollout is complete?
Ownership should be split in writing before the rollout starts. Your team usually keeps the identity provider, the directory, user lifecycle and access reviews. The OX App Suite operations team typically owns the middleware configuration, the ranking file, log review and release upgrades. A partner can hold a retainer for upgrades, continuous testing and support if you choose one. Make sure someone owns each authentication service by name, and that changes to the ranking order go through the same review as other production changes.
How DeployOpen scopes and delivers this login design
DeployOpen starts by agreeing the login design with your identity and security teams before any configuration changes. The working session covers which authentication services are in scope (database, OIDC through Keycloak or another provider, IMAP and LDAP), which user groups or contexts each one serves, and the order in which they are ranked. The output is a written design that names every authentication service, its rank, the conditions that move a login to the next service, and the owner of each setting. Your team keeps decision rights over the identity provider, the directory and the MFA policy, and DeployOpen confirms with you which of those controls the App Suite 8 release you run actually exposes before the build is scoped.
The work is implemented inside your infrastructure, on your Kubernetes cluster and with your identity systems. DeployOpen applies the ranked configuration in a non-production environment first, tests each fallback path with test accounts from every user group, and records the results alongside the configuration. The ranking and fallback rules are documented in a form your reviewers can read without running the system, including what happens when the primary service is unavailable and which accounts can still sign in. Any change that touches the middleware login configuration is handled as a versioned change so it can be reviewed and rolled back. Your team should confirm the exact configuration keys against the vendor documentation for the release it runs.
Engagements are fixed-scope, agreed in writing before work starts, and can be followed by a retainer for ongoing support. The written scope lists the authentication services, environments, test cases and handover documents, and the quote follows from that scope. After go-live, a retainer can cover upgrades that change login behavior, periodic retesting of fallback paths and changes when a user group moves. DeployOpen prepares the configuration, test records and access evidence that your compliance team may need for an assessment, but it does not issue audit reports or attestations. Independent auditors and certification bodies make those determinations, so ask your assessor early which evidence they expect.

