Skip to content

Admin Portal

A narrow surface where your customer's IT admin sets up SSO for one account. It is separate from your dashboard.

The Admin Portal lets one IT admin at your customer set up SAML and OIDC, and turn on SCIM, for one account. The IT admin needs no RealmSSO account, no password and no access to your dashboard. This page lists what the IT admin can do in the portal.

What the IT admin gets

  • A single-use invite link. The link lasts 30 minutes. The whole portal session ends 30 minutes after you made the link. One session covers one account. See Invite links.
  • SAML setup. The IT admin gives a metadata URL, or the manual values. The manual values are the identity provider's entity ID, SSO URL and signing certificate. Saving again updates the same connection.
  • Customer-issued certificates. The IT admin can generate a certificate signing request (CSR) for RealmSSO's SAML signing certificate, install the certificate the customer's own authority issues, upload an encryption key or request an encryption certificate the same way, switch to a staged certificate, and switch back to the RealmSSO-generated one. RealmSSO keeps the private key behind each CSR. The certificate covers every SAML connection of the account, while the portal shows one. A preview session cannot make these changes.
  • The values for the identity provider. After the first save, the portal shows the ACS URL, the entity ID and the audience. The IT admin enters them in the identity provider.
  • OIDC setup. The IT admin creates or updates an OIDC connection from a discovery URL.
  • SCIM. The IT admin turns SCIM on and sets its token. With two or more provisioned connections, pair SCIM with one of them through the portal API before the portal turns it on. See SCIM and SSO together. The token has at least 32 characters. RealmSSO stores only its SHA-256 hash.
  • A connection test. The IT admin can run one. It includes a configuration check and a sign-in test.
  • Status. The portal shows each connection's status and its last recorded health.

Also in your dashboard and the API

TaskWhere
Pasted metadata XMLThe portal API accepts pasted metadata XML. The screen takes a metadata URL or the manual values.
Domain checkYou prove an email domain with a DNS record, in your dashboard or the API.
Connection on or offYou set a connection to active or inactive in your dashboard or the API.
EventsYour dashboard shows sign-in and SCIM counts and the 50 latest events.

How the IT admin gets in

There is no sign-up. You invite an IT admin from the Accounts page in your dashboard, or with this call:

POST/api/v1/admin-portal/generate-link

The call needs a dashboard session with the admin role on the account. The server fixes the portal session at 30 minutes from the invite link. RealmSSO makes the invite link and tries to email it to the IT admin. The response holds the link as portalUrl, and says in emailSent whether the email went out. If it did not, give the link to the IT admin another way. The Invite links page describes each step.

The portal's tabs

The portal lives at /portal. It shows the account's name, its logo or a coloured initial, and five tabs.

TabRouteWhat it does
Overview/portal/dashboardLists the account’s connections with their status and last recorded health.
SAML Configuration/portal/samlCreates or updates the SAML connection from a metadata URL or the manual values. Shows the ACS URL, the entity ID and the audience after the first save.
OIDC Configuration/portal/oidcCreates or updates an OIDC connection from a discovery URL. The IT admin can run a connection test.
SCIM Directory Sync/portal/scimTurns SCIM on and sets its token. A save can also pair SCIM with a connection. See SCIM and SSO together.
Settings/portal/settingsShows account details, the ACS URL, the entity ID and the SCIM URL with copy buttons, and when the session ends.

Deprovisioning, group sync and attribute mapping are set through the portal API. See the SCIM API.

The portal sends the invite link's token in the X-Admin-Token header on the first request. RealmSSO then issues a continuation token, and the portal uses that for later requests. The continuation token never outlives the 30 minutes from when you made the link. For the account and realm model behind these connections, see Accounts and isolation.

Branding

The portal shows a logo and an accent colour for the account.

FieldTypeAccepted as
logostring or nullA URL.
brandColorstring or nullA 6-digit hex colour, for example #4f46e5.

You set both fields through the accounts API. See the Accounts API.

POST/api/v1/accounts
PATCH/api/v1/accounts/:id

Both routes accept optional logo and brandColor fields next to the name and the email domain. PATCH also accepts null to clear a field.

The IT admin cannot change the branding of the account. Branding is not a gated feature: every account has the two fields.

GET /api/v1/admin-portal/session returns account.logo and account.brandColor with the account's name and slug. The portal then uses them:

  • If logo is set, the header shows it as an image.
  • Otherwise the header shows a coloured square with the first letter of the account name. The square uses brandColor, or #4f46e5 if the account has none.
  • The Settings tab also shows the colour as a swatch.