Single Sign-On

This section is available to tenant administrators of the tenant being managed and to global administrators.

Single sign-on lets people at your organization sign in to GEMA with their work account instead of a separate password. You connect your identity provider, prove you own your email domains, and decide what access people receive when they sign in.

Open the tenant detail page and select Single Sign-On. Global administrators reach it from Tenant Management; tenant administrators select the settings gear and choose Manage Tenant. See Tenant Management.


Choose Sign-In and Access

Make two choices for each group of people. The first is how they prove who they are. The second is how they receive abilities and business units. A tenant can mix these. One company can use SAML with SCIM while another uses OpenID Connect with an EDI user list.

How they sign in

Choice What the person does What you set up
OpenID Connect (OIDC) Enters their email, selects Continue, and finishes at the identity provider. No GEMA password. An identity provider card with protocol OpenID Connect (OIDC), a verified and enabled email domain, and the redirect URI registered at the provider.
SAML 2.0 Same sign-in page path. GEMA sends them to the identity provider and the provider posts them back. An identity provider card with protocol SAML 2.0, a verified and enabled email domain, and the entity ID and ACS URL registered at the provider.
Local password Enters their email, selects Continue, and types a GEMA password. No identity provider for that email domain. Invite the person on the Users tab when they do not already have an account; GEMA declines the invitation if the email is already taken. See Users and Roles and Signing In to GEMA.

An email domain belongs to one identity provider. People at a domain that is Enabled for sign-in always go to that provider, even if you also created them on the Users tab. People at a domain that is not enabled sign in with a password.

Single sign-on does not make someone a tenant administrator or a global administrator. Those checkboxes stay on the person’s user record.

How they receive access

Abilities and business units can come from the identity provider, from a user-list file, or from the user record. Default business units are optional. When you set them, they are added for everyone who signs in through that identity provider, and they do not grant abilities. Leave them empty when groups or a later assignment should supply the business units.

A person who signs in with no business unit from any of those sources sees You don’t have access yet. Their account is created, and no session starts. Open their user record, assign a business unit, and have them sign in again. A person who has a business unit and no abilities reaches Settings, and the side navigation is empty until an ability is granted and they sign in again.

Choice When to use it What you set up
SCIM The identity provider can push users and groups into GEMA, such as Microsoft Entra. Generate Token on the card, and the SCIM base URL and token in the provider. Add a group row for each group the provider pushes. While the token is set, SCIM owns groups. Group source cannot be changed until you Revoke Token.
EDI user list You already send a staff roster, or the provider does not send groups. Group source set to EDI user list. A group row for each group name in the file. A user-list EDI mapping. See EDI Management.
Manual, before sign-in A short list of people, or a provider with no groups and no roster. Create each person on the Users tab and set abilities and business units there. The first sign-in links their email and keeps what you set.
Manual, after sign-in You would rather let people arrive and grant access one by one. Leave Default business units empty. The person signs in and sees You don’t have access yet. Open their user record, assign business units and abilities, and have them sign in again.

Access you set by hand is added to access from groups. It is not replaced by a later sign-in. Change group-granted access on the group rows. Change hand-set access on the user record.

Scenarios

  • Entra or Okta with groups in the sign-in. OIDC or SAML, Group source Login claims, and a group row for each group name or identifier the provider sends.
  • Entra with automatic provisioning. OIDC or SAML, plus SCIM. People are created as invited users when the provider pushes them. The first sign-in makes them active and applies the group rows.
  • Google, or any OpenID Connect provider that sends no groups and has no provisioning. OIDC, leave User Provisioning (SCIM) unused, and use EDI user list or one of the manual choices. Group rows do nothing while Group source is Login claims. For Google, the issuer is https://accounts.google.com and the identifier claim is sub.
  • A company that keeps GEMA passwords. No identity provider for their domain. Invite them on the Users tab when the email is not already in use, and set abilities and business units there. See Users and Roles when an invitation is declined.

The rest of this article is the screen for each of those steps.


One Identity Provider per Organization

A tenant can have several identity providers. Add one for each company or merged organization that has its own sign-in system. For example, after a merger one company might sign in through Microsoft Entra and the other through Okta.

Each email domain belongs to exactly one identity provider. People sign in through the identity provider that owns their email domain.

Each identity provider has its own:

  • settings: protocol, identity claims, and default business units
  • group source, group claim names, and group mapping rows
  • email domains
  • SCIM token

The tab lists one card per identity provider. Each card shows the identity provider’s name, protocol, identifier claim, default business units, and group source, followed by its own Email Domains table and its own User Provisioning (SCIM) section.

When the tenant has no identity providers yet, the tab explains that each email domain signs in through one identity provider and offers Add Identity Provider.


Add an Identity Provider

  1. Select Add Identity Provider at the top of the tab.
  2. In the Add Identity Provider panel, enter a Name, such as the company or identity provider name. The name appears on the card and must be different from the tenant’s other identity providers.
  3. Choose a Protocol: OpenID Connect (OIDC) or SAML 2.0.
  4. Fill in your identity provider’s details, then select Save Settings.

A new card appears for the identity provider. If the settings cannot be saved, for example because another identity provider already has that name, the panel stays open and shows the reason.

To change an identity provider, select Edit Settings on its card. The panel opens with that identity provider’s settings.

Name and Identifier claim are required. You cannot save the settings while either is empty.

OpenID Connect

The panel shows the Redirect URI at the top of the OpenID Connect section. Copy it into your identity provider when you create the client, before you have a Client ID or secret. It is the address of this app with /api/auth/sso/oidc/callback added, so open the app at the address your organization uses.

Enter the Issuer, Client ID, and Client secret. The discovery, JWKS, authorization, and token URLs are optional. Some providers do not label an issuer in their console. For Google, the issuer is https://accounts.google.com and the identifier claim is sub. Leave the optional URL fields blank and GEMA reads the sign-in, token, and key addresses from that issuer.

The client secret is write-only. Once one is stored, the panel shows Client secret stored and the field stays blank. Leave it blank to keep the stored secret, or type a new value to replace it.

SAML

The panel lists the values your identity provider needs: the Entity ID and the Assertion Consumer Service (ACS) URL. Select Download service provider metadata to get them as a file. These values are the same for every identity provider you add.

Then select Identity provider metadata and choose the metadata file your identity provider gave you. That fills the Identity provider entity ID, the Sign-on URL, and the Signing certificate (PEM). A second signing certificate in the file fills Second signing certificate (optional) as well. You can also type or paste those values yourself. If your identity provider is about to rotate its signing key, put the next certificate in Second signing certificate first so sign-in keeps working through the change.

Identity Claims

  • Identifier claim — required. The claim or attribute that holds a stable identifier for each person, such as sub or oid. For SAML, enter nameid to use the NameID.
  • Email claim — the claim that holds the person’s email address.
  • First name claim, Last name claim, and Full name claim — optional claims used to fill in a person’s name.

Default Business Units

Use Default business units when everyone who signs in through this identity provider should receive the same business units. Open the picker, search or browse the tree, and select a parent unit to include its whole branch, or select individual units. Group rows can add more access on top of these defaults. You can leave the list empty. People then receive business units only from their group rows or from what you set on their user record. A person with none sees You don’t have access yet until you assign a business unit and they sign in again.

Delete an Identity Provider

Select Delete on the identity provider’s card and confirm. Its email domains are removed with it, and people at those domains stop using single sign-on and sign in with a password. Everyone who signed in through it loses the abilities, business units, and user groups that its group rows and default business units gave them. Access you set by hand on a user record stays. A person that identity provider had already deactivated is deleted and does not return to password sign-in. Your other identity providers and their domains are not affected.


Email Domains

Each card has its own Email Domains table. Add a domain to the card of the identity provider that people at that domain sign in through.

  1. On the identity provider’s card, select Add Domain.
  2. Enter the part of your email addresses after the @ sign, such as example.com, and select Add Domain.
  3. The table shows the domain with its Status, TXT record name, and TXT record value. Add a TXT record with that name and value at your DNS provider. Use the copy button beside the value to avoid typing mistakes.
  4. After the record is published, select Verify.

A domain’s Status is one of:

  • Pending — waiting for the TXT record to be found.
  • Verified — the record was found. The domain is not used for sign-in until you enable it.
  • Expired — the claim ran out before it was verified. Select Renew Claim to start again with a new record.

Once a domain is Verified, select Enable to send sign-ins from that domain to the card’s identity provider. Enable works only when the identity provider is fully set up. A SAML provider needs its Identity provider entity ID, an https Sign-on URL, and a Signing certificate (PEM). Select Disable to stop. The Sign-in column shows Enabled or Disabled. Use the trash icon on a row to remove a domain.

Global administrators also see Mark validated on a domain that is not yet verified.


Group Source

Group source decides where GEMA reads a person’s groups when they sign in through this identity provider:

  • Login claims (default) — groups come from the sign-in itself. GEMA reads the group claims your identity provider sends. A provider that sends none, such as Google, grants nothing from group rows on this setting.
  • EDI user list — groups come from the user list your organization sends to GEMA, not from the sign-in. Use this when the provider does not send groups.

If the identity provider has a SCIM token (see below), SCIM owns its groups. The panel says so and the other choices are unavailable until you revoke that token.

Group Claim Names

The panel lists the claim names GEMA always reads: groups, roles, group, and the three Microsoft claim addresses. These cannot be changed. Use Additional claim names to add your own. Type a name or URL and press Enter. Names cannot contain spaces.


Group Mappings

Group mappings decide what access a person receives from a group name. That name comes from the sign-in when Group source is Login claims, and from the user-list file when Group source is EDI user list. Each identity provider has its own rows. A provider that sends no groups never matches these rows while Group source is Login claims.

Each row has:

  • Group — the group exactly as the sign-in sends it, or exactly as the user-list file writes it when Group source is EDI user list.
  • Abilities — the abilities the group grants.
  • Business units — the same hierarchical business-unit picker used elsewhere in GEMA. Browse the tree and select units for this group; selecting a parent includes its branch.
  • User groups — the teams this identity-provider group places a person on. User groups route task work in My Tasks. They grant no permissions. Create the teams first on the User Groups tab. If the list is empty, that tab has no groups yet.

Select Add Group Row to add a row, and the trash icon to remove one. A group can appear in only one row.

A person who belongs to several groups receives the combined access of every row that matches.

A person you also place in a user group by hand stays in that group. The identity provider adds to that membership; it does not take the hand-assigned groups away.

One group may need two rows. An Entra group often arrives as its security identifier (a GUID) in some sign-ins and as its display name in others. Add one row for the identifier and one for the display name, with the same abilities, business units, and user groups on both.


User Provisioning (SCIM)

SCIM lets an identity provider create, update, and deactivate users and push their groups. Each card has its own User Provisioning (SCIM) section and its own token. While an identity provider’s SCIM token is set, SCIM owns group membership for that identity provider.

A person the identity provider deactivates cannot sign in to GEMA at all, by single sign-on or by password. A session they already have ends the next time it renews.

The section shows the SCIM base URL for your tenant. Copy it into your identity provider’s provisioning settings, together with that identity provider’s token.

  • Generate Token — creates the token this identity provider uses to connect.
  • Rotate Token — replaces the token. The old one stops working at once, so update the identity provider right away.
  • Revoke Token — turns SCIM off for this identity provider. Its group source can then be chosen again.

The full token is shown once, in a dialog, when you generate or rotate it. Copy it before you close the dialog. Afterward the card shows only the start of the token, and GEMA cannot show it again. If you lose it, rotate the token.

Some OpenID Connect providers, including Google, have no provisioning to connect here. Leave this section unused and use EDI user list or a manual choice from Choose Sign-In and Access.