Navigation

10.18. Set Up SSO with Keycloak, Google Workspace, or Microsoft 365

Configure staff SSO with your Keycloak realm in Community or Enterprise Edition, or link Google Workspace and Microsoft 365 accounts in Enterprise Edition.

10.18. Set Up SSO with Keycloak, Google Workspace, or Microsoft 365
Configure staff SSO with your Keycloak realm in Community or Enterprise Edition, or link Google Workspace and Microsoft 365 accounts in Enterprise Edition.
10. SettingsUpdated: 11/19/2026

Single Sign-On (SSO) Management

Single Sign-On allows users to log in to AlgaPSA using their existing credentials from Keycloak, Google Workspace, or Microsoft 365. This lets an MSP use its staff identity provider for daily PSA access. Administrators configure SSO from Settings > Security > Single Sign-On.

Availability: Keycloak is available in Community Edition and Enterprise Edition and is the SSO option in Community Edition. Google Workspace and Microsoft 365 SSO require Enterprise Edition.


Configure Keycloak (OpenID Connect)

Keycloak authenticates existing internal users by matching their email addresses. It does not create AlgaPSA accounts. Open Settings > Security > Single Sign-On to configure your realm.

Follow Connect Keycloak for staff single sign-on for prerequisites, realm setup, login-domain routing, verification, and troubleshooting. After testing sign-in, return to the sign-in policy section below if you want to require SSO.


Link Google or Microsoft SSO from Your Profile

In Enterprise Edition, individual users can link their AlgaPSA account to Google or Microsoft directly from their profile settings.

Steps to Link Your Account

  1. Click on your profile avatar in the top right corner of AlgaPSA.
  2. Select Profile from the dropdown menu.
  3. Navigate to the Single Sign-On tab.
  4. In the Secure your account with SSO section:
    • Confirm your email address shown in the Signed in as field.
    • Enter your Current password.
    • Click the Verify Credentials button.
  5. Once verified, a message will appear: "Credentials verified. Choose a provider below to finish linking your account."
  6. In the Connect a provider section, click on your desired provider:
    • Google Workspace - Sign in with your Google-managed identity.
    • Microsoft 365 (Azure AD) - Sign in with your Azure Active Directory account.
  7. You will be redirected to your provider's login page. Select or sign in with the account you want to link.
  8. After successful authentication, you will be redirected back to AlgaPSA.
  9. Your linked account will appear in the Linked accounts section, showing:
    • The provider badge (Google or Microsoft)
    • Your linked email address
    • The date the account was linked
    • The last time SSO was used
  10. Click Save Changes to finalize the setup.

Administrator SSO Management in Enterprise


Navigate to Settings > Security, then open the Single Sign-On tab in Security Settings. This section is for administrators to configure providers, link or unlink existing users, and manage SSO behavior in AlgaPSA.


Single Sign-On Assignment (Linking and Unlinking Existing Users)

Bulk assignment offers Google Workspace and Microsoft 365 only. Keycloak is excluded from this provider picker; configure its realm and login-domain routing in the Keycloak / OpenID Connect card instead.

Steps to Link Users

This process is used to connect existing internal users to your configured SSO provider.

  1. Under the Single Sign-On Assignment section, locate the Choose provider toggle
  2. Select your provider by clicking on the corresponding tab: Google Workspace or Microsoft 365 (Azure AD).
  3. Ensure the Action toggle is set to Link selected users.
  4. In the Find internal users search bar, you can search for users by their email.
  5. Check the box next to the user(s) you want to link. You can select multiple users.
  6. (Optional): Click Preview assignment to review the actions before execution. It will display below the list of users.
  7. Click the Link accounts button to finalize the SSO assignment for the selected users.

Steps to Unlink Users

Unlinking a user returns their account to their original password-based sign-in method. If Require single sign-on for MSP staff is on, password sign-in stays blocked for that user unless they are an eligible break-glass administrator.

  1. Under the Single Sign-On Assignment section, select your provider (Google Workspace or Microsoft 365).
  2. Change the Action toggle to Unlink selected users.
  3. In the Find internal users section, find and check the box next to the user(s) you wish to unlink.
  4. (Optional): Click Preview unlink to review the actions before execution. It will display below the list of users.
  5. Click the Unlink accounts button to remove the SSO link for the selected users.

Automatically Set Up SSO for New Users

This setting ensures that any new internal staff member added to AlgaPSA after this feature is enabled will be automatically provisioned for SSO if their email matches a configured provider.

  • To enable this feature, locate the setting Automatically set up SSO for new internal users.
  • Toggle the switch to the ON position (it will turn purple).

Previewing Assignment

The preview function is highly recommended when processing multiple users to avoid unintended changes.

  1. Select your Provider and the desired Action (Link or Unlink).

  2. Select the user(s) from the internal user list.

  3. Click the Preview assignment (or Preview unlink) button.

  4. A Preview results section will appear below the user list, detailing:

    • Processed Users: The total number of selected users.
    • Linked/Unlinked: How many accounts will have the action applied.
    • Already Linked/Unlinked: How many accounts already have the desired status and will be skipped.
    • Skipped (Inactive): Accounts that cannot be processed (e.g., inactive users).

Require SSO and two-factor authentication (Sign-in policy)

In Enterprise Edition, the Sign-in policy card at the bottom of Settings > Security > Single Sign-On controls how staff and client portal users may sign in with a password. The rules are enforced on the server for the whole tenant. Every option is off by default, so sign-in behaves as before until an administrator turns one on. Changing the policy requires permission to update settings.

Each switch saves as soon as you change it. If AlgaPSA cannot accept the change, the switch returns to its previous position and the card lists the reason.

OptionApplies toWhat it does
Require single sign-on for MSP staffAll internal (MSP) usersStaff must sign in with Google, Microsoft, or your Keycloak provider. Password sign-in and password reset are blocked, except for the break-glass administrators you select. Any configured provider satisfies the requirement; you cannot pin staff to one provider, and the rule is not scoped by email domain or role.
Require two-factor authentication for MSP staff password sign-inInternal users who sign in with a passwordStaff must enter a code from an authenticator app. Staff without an authenticator are asked to set one up at their next sign-in.
Require two-factor authentication for client portal password sign-inClient portal users who sign in with a passwordPortal users must enter an authenticator code. Portal users without an authenticator are asked to set one up at their next sign-in.
Allow known devices to skip the codeUsers covered by a two-factor requirementUsers who chose to trust a device are not asked for a code on that device. When this is off, a two-factor requirement asks for a code at every password sign-in. Break-glass administrators always need a code.

The two-factor requirements apply to password sign-in. They do not change sign-in through Google, Microsoft, or Keycloak.

Break-glass administrators

Break-glass administrators keep a password path so your team is not locked out if your identity provider is unavailable. The Break-glass administrators list shows only eligible users: active internal users who hold the Admin role and have two-factor authentication enabled. If the list reads "No eligible administrators", enable two-factor authentication on an active administrator account first.

While single sign-on is required, a break-glass administrator signs in with a password and an authenticator code every time; the known-device skip never applies to them. Eligibility is checked again at every sign-in and password reset. If a listed administrator is deactivated, loses the Admin role, or has two-factor authentication reset, their password sign-in is refused with the Single Sign-On Required message.

Ineligible administrators already on the list are marked No longer eligible. with the reason, for example "Two-factor authentication was reset or is missing." Select Remove to take them off the list. AlgaPSA also drops ineligible entries automatically the next time the policy is saved.

Turn on Require single sign-on

  1. Configure and test at least one provider (Google Workspace, Microsoft 365, or Keycloak) so staff can sign in with it.
  2. Make sure at least one administrator is eligible for break-glass access, then select them under Break-glass administrators.
  3. Turn on Require single sign-on for MSP staff.

AlgaPSA rejects the change if no single sign-on provider is configured ("Configure at least one single sign-on provider before requiring single sign-on.") or if no valid break-glass administrator is selected ("Select at least one break-glass administrator before requiring single sign-on."). While the requirement is on, every save is checked the same way, so you cannot remove the last valid break-glass administrator. Turning the requirement off always succeeds.

Existing sessions: Turning on Require single sign-on for MSP staff immediately signs out every internal user who signed in with a password, except break-glass administrators. Sessions started through single sign-on and client portal sessions are not affected. Turning on a two-factor requirement does not sign anyone out; it applies at each user's next sign-in.

What users see

  • Staff blocked by the SSO requirement: After entering a correct password, the user sees Single Sign-On Required and is asked to use one of the single sign-on options instead.
  • Password reset while SSO is required: A staff member who is not an eligible break-glass administrator does not receive a reset email. The forgot-password page shows the same response it shows for any address, so it does not reveal the account's status. A reset link issued before the requirement was turned on is treated as invalid.
  • Forced two-factor setup: When a two-factor requirement applies and the user has no authenticator, sign-in opens Set up two-factor authentication. The user scans the QR code with an authenticator app (or enters the key manually), enters the 6-digit code, and then finishes signing in with a code.

What the policy does not cover

  • Client portal users are never affected by Require single sign-on for MSP staff. They keep signing in with a password unless you set up client portal SSO, and their two-factor requirement is the separate client portal option.
  • API keys are a separate credential. The sign-in policy does not block or revoke them; manage them from Security Settings.
  • Community Edition does not include the Sign-in policy card, and password sign-in works as before.

AlgaPSA records an audit entry when the policy changes, when a sign-in or password reset is refused by the policy, and when a user sets up two-factor authentication because the policy required it.


Related identity features

This page covers SSO for your own internal AlgaPSA users, including email matching through Keycloak. Client access and automated user lifecycle management are separate workflows: