Skip to content
TesseraDocs
MenuRealms

Realms

A realm is one set of users, apps, keys and sign-in pages.

View as Markdown

On this page

A realm is one set of users, apps, keys and sign-in pages.

Users of one realm are separate from the users of every other realm. A realm has its own signing keys, its own sign-in methods, its own look and its own address. If you run two products with separate customers, give each its own realm. If several apps share one set of users and one sign-in, put them in one realm.

The issuer

Every realm has an issuer, the address your app trusts to sign people in.

https://login.kurthlabs.com/realms/acme

Replace acme with your realm name. Your OpenID Connect library finds everything else from there: discovery at /.well-known/openid-configuration and the signing keys at /jwks. If you add your own login domain, the issuer becomes that address. See domains.

What a realm holds

  • Apps, the OAuth clients that send people to sign in. See apps.
  • Users, who sign in with the realm's sign-in methods.
  • Roles and groups, which end up as claims in tokens. See roles and permissions.
  • A theme, the look of its pages and emails. See themes.
  • Agents, with a named human owner. See agents.

Who can sign up

A realm has a sign-up policy.

Policy Meaning
invite_only People arrive by invite only. The default for realms made in the console.
open Anyone can create an account.
federation_only Only people from a configured external provider.
disabled The sign-up page does not exist.

In the console you choose between invite-only and open when you create the realm. A realm made in the console starts with passkey, email code and email-link sign-in, an email-first sign-in page and the policy you chose (invite-only by default). See sign-in methods. Its signing keys exist from the first second, so it is usable at once.

Create one

In the console, answer "What are you building?" on the home checklist. Or, as an operator, use the admin API or tessera apply with a realm spec. See first sign-in.

Realm limits

A workspace can hold a limited number of realms, 3 by default. See workspaces.