Claxx Auth
Docs
Sign in
User FAQ
  • Reset my password
  • I can't sign in
  • Didn't get reset email
  • Account linking
  • Session expiry
  • Two-factor auth
Admin Guides
Theme Studio
  • Overview
  • Layouts
  • Styling tokens
  • Concept copy
  • Assets & backgrounds
  • Advanced CSS
Admin Shell
  • Users
  • Providers
  • Clients
  • Invitations
Integrations
  • OIDC flow
  • Provider token brokering
  • Email triggers
  • Webhook events
  • Session contract
Reference
  • API
  • Error codes
  • Event shapes
  • Design tokens

OAuth Clients

Every application that signs people in through Claxx Auth needs a client record (the admin pages call it a client or an application). The record says which addresses Claxx Auth may send people back to, how people may sign in, which theme and sign-in providers its sign-in page shows, and holds the public half of the application's key.

Clients live at /admin/clients. The list shows each client of the tenant you are managing with its name, slug, type and whether it is active. Click a row to open its page at /admin/clients/:id.

What a client record carries

FieldWhat it is
NameA label for the admin pages and for emails.
SlugHow hosted pages name the application, as in /login?client_slug=orders. The Nuxt module's hostedLoginSlug.
Client IDThe OIDC client_id. Issued by Claxx Auth, a UUID, never changes.
Client Typeconfidential (signs people in) or service (a server's key that signs nobody in). Shown, not changed, on the client's page.
Client Assertion Key IDThe kid of the application's key. The application signs a private_key_jwt assertion with the private half.
Client Assertion Public JWKThe public half of that key. Claxx Auth keeps only this.
Allowed ScopesThe scopes the application may ask for. openid, profile, email unless you change it.
Redirect URIsWhere people are sent back to after signing in. Matched exactly.
Post-Logout Redirect URIsWhere sign-out may send people back to. Matched exactly. At least one is needed.
Hosted Login ThemeThe look of the sign-in page for this application. See theme studio.
Allow password sign-inShows the email and password form. On by default.
Allow self-service signupLets anyone with an email address create an account on the sign-in page. Off by default.
Require MFA for password sign-inA password alone is not enough: people without two-factor are shown how to add it as they sign in. Off by default.
Allow sign-in by emailed linkAdds Email me a sign-in link to the sign-in page and lets the application send links. Off by default.
Sign-in start URLThe application's own sign-in address. Where a browser goes after someone uses an emailed link.
ActiveWhether the application can be used at all.

There are no client secrets. Every application authenticates with its private key, and there is no type for an application that runs only in a browser.

Creating a client

On /admin/clients:

  1. Click Add Client.
  2. Enter a Name. The Slug is filled in from it; change it if you like. A slug is 2 to 63 lower-case letters, digits and hyphens and starts with a letter. default is kept for the platform's own default application, and a slug that any tenant has ever used cannot be used again.
  3. Leave Client Type on Confidential. Platform admins also see Service: see Service applications.
  4. Check Allowed Scopes. openid is needed for any sign-in; the Nuxt module also asks for profile and email unless it is told otherwise.
  5. Pick a Hosted Login Theme, or leave Default hosted login to use the tenant's own look.
  6. Set the sign-in switches. Self-service sign-up starts off: turn it on only for an application that is open to the public.
  7. Enter at least one Redirect URI, separated by commas or new lines. For the Nuxt module that is https://<the application>/auth/callback.
  8. Check the Post-Logout Redirect URIs. The field fills itself in from the first redirect URI, as its origin with a slash (https://<the application>/), which is where the Nuxt module returns after sign-out. Type in it to change it.
  9. Tick the sign-in providers the sign-in page should offer, if any.
  10. Click Create Client.

The form checks the slug and every address as you type, with the same rules the server applies. The server refuses anything that breaks them, with a message that names the address.

Right after creating it

A panel shows what the developer needs, once:

  • the Client ID, the Hosted Login Slug, the Token Endpoint Auth Method (private_key_jwt) and the Client Assertion Key ID;
  • the Client Assertion Private Key. It is shown now and never again. Claxx Auth does not keep it;
  • the discovery, authorization, token and logout addresses, and the hosted sign-in address for this application;
  • the configuration check for the new application.

Click Download Integration Guide to get all of this as one Markdown file for the application's developer. The file contains the private key: hand it over in person or through a password manager, not by chat or email, and ask the developer to delete it once the values are in their secret store. The guide opens with a checklist the developer can follow step by step, states the application's sign-in rules, and lists the findings of the configuration check.

The guide can be downloaded only here and after rotating the key, because only then is there a private key to put in it.

Naming

Use one client per application and per environment, for example "Orders (staging)" with slug orders-staging and "Orders" with slug orders. Separate clients keep the redirect addresses of each environment apart, and the configuration check flags a client whose redirect addresses are on more than one host.

Redirect URIs and post-logout redirect URIs

Claxx Auth matches both kinds of address exactly. An address the application presents is accepted only if, once normalized, it equals one that is registered:

  • the scheme, the host, the port and the path must all be the same;
  • a host in capitals is the same host (https://Orders.Example.com/cb equals https://orders.example.com/cb), and :443 on https is the same as no port;
  • a trailing slash is not the same (https://orders.example.com/cb is not https://orders.example.com/cb/);
  • an address with a query added (?next=/x) matches nothing.

What an address may be:

  • an absolute https:// address;
  • plain http:// only on localhost, 127.0.0.1 and [::1], for development on one computer;
  • no user name or password, no fragment (#...), no query (?...), and no *. Nothing is a pattern: register each address in full.
  • a host of letters, digits, dots, hyphens and underscores, or an IPv6 address in brackets. An international name is stored in its punycode form (xn--...).

Addresses are stored in their normalized form, so the list on the client's page may show an address slightly differently from how it was typed. A record written before these rules can still hold an address that breaks them. Such an address matches nothing, and the configuration check reports it.

On the client's page, Add URL adds an address and saves at once; tick addresses and click Remove to take them out. A save that would leave an application that signs people in without any post-logout address is refused.

If the post-logout address an application sends is not registered, the person is still signed out, but lands on Claxx Auth's own page instead of the application.

The configuration check

The top of the client's page lists what its saved settings mean, problems first. The same list is written into the integration guide.

LevelFindingWhat to do
ProblemNo redirect addressAdd the application's callback address.
ProblemA redirect or post-logout address is no longer acceptedReplace it with the exact https address.
ProblemSign-out cannot return to the app (no post-logout address)Add the application's address with a slash at the end.
Problemopenid is not an allowed scopeAdd it, or every sign-in is refused.
ProblemThe type is Public (an older record)Create a Confidential application to replace it.
CheckAnyone can create an accountTurn self-service sign-up off unless the application is open to the public.
CheckA second factor is not requiredTurn on Require MFA once the people who use the application have two-factor.
CheckEmailed sign-in links do not reach the appSet the Sign-in start URL.
CheckA redirect address uses plain httpRemove it before going live, or keep a separate client for development.
CheckRedirect addresses are on more than one hostCheck each host belongs to this application.
CheckA post-logout address is on a host with no redirect addressCheck the host belongs to this application.
CheckThe Nuxt module's default scopes are not all allowedAllow openid, profile and email, or set claxxAuth.scopes in the app.
CheckThe slug is in an old formatChange it, and the application's hostedLoginSlug with it.
CheckIts key can administer the tenant or the platform (service)Keep the key on a server; remove admin if it is not needed.
NoteEmailed sign-in links are a single factorLeave links off if the application needs more than a mailbox.
NoteEmailed sign-in links are switched on but not offeredSwitch them off, or change what stops them.
NoteThe application is switched offSwitch it on when it is ready.

The client's key

Each client has an ES256 key pair. Claxx Auth keeps the public half; the application keeps the private half on its server and signs a short private_key_jwt assertion with it whenever it calls the token, introspection, revocation, sign-in link or session endpoints.

Rotate Client Key on the client's page makes a new key pair at once. The old private key stops working immediately; there is no overlap. The new private key is shown once, with Download Integration Guide. Put the new key in the application's secret store straight away; until then the application cannot complete a sign-in.

Rotate at once if the private key may have been seen by anyone else, for example if the guide was sent by chat or email.

PKCE, nonce and tokens

These are the same for every client and cannot be changed per client:

  • Every authorization request needs a state, a nonce and an S256 code_challenge. plain PKCE is refused.
  • Access tokens and ID tokens last one hour at most, and never longer than the sign-in they came from has left. Claxx Auth issues no refresh tokens: when a token runs out, the application starts a new sign-in, which goes through without a prompt while the person is still signed in at Claxx Auth.
  • The sub claim is different for every client (pairwise).

Scopes

ScopeGrants
openidNeeded for every sign-in. Issues an ID token.
profilename, given_name, family_name and picture in the ID token and userinfo.
emailemail, email_verified and emails.

A sign-in that asks for a scope that is not in Allowed Scopes goes back to the application with error=invalid_scope. Keep the list to what the application needs.

The admin scope

admin lets a token call the admin API (/api/admin/**). It is not an OIDC scope and it never reaches a person's token:

  • Only a service application may hold it. Saving admin on any other application is refused, for every admin, with a message that says why.
  • Only a platform admin signed in to the admin pages may add it. A tenant admin cannot, and neither can a request made with an admin key.
  • Asking for admin at sign-in (/api/oidc/authorize) is refused with invalid_scope. Only a service application can ask for a client_credentials token at all.

Client types

TraitConfidentialService
Signs people inYesNo
Authenticates withIts private key (private_key_jwt)Its private key (private_key_jwt)
Redirect URIsAt least one to be usableNone
Post-logout URIsAt least oneNone
Client credentials grantSupported, without adminSupported, the only grant it may use
admin scopeNeverAllowed; added by a platform admin
Created byAny admin of the tenantA platform admin, signed in

New clients cannot be of type public, and no client can be changed to it. An older record that is already public keeps working for sign-in, but cannot ask for sign-in links or sign a person out everywhere; the configuration check reports it as a problem.

Service applications

A service application is a key for a server. With the admin scope, the token it gets from client_credentials can call the admin API:

  • as an admin of the application's tenant, on that tenant's address only;
  • as a platform admin when the application belongs to the platform's own tenant, on the platform's own address only. Such a key can administer every tenant, every account and every setting.

The rules:

  • Who can make one. Only a platform admin signed in to the admin pages can create a service application, change an application's type to or from service, add admin to its scopes, or rotate its key. A tenant admin cannot, and neither can a request made with an admin key: a key cannot mint more keys. The Service type is not offered to anyone else.
  • Signs nobody in. It has no redirect URIs and no post-logout redirect URIs (a list with any entry is refused). Password sign-in, sign-up and emailed links are stored off. The authorization endpoint answers unauthorized_client, and so do the sign-in link, session check and session revoke endpoints and an authorization code exchange.
  • What it may call. POST /api/oidc/token with grant_type=client_credentials, and /api/oidc/token/introspect and /api/oidc/token/revoke for its own tokens.
  • Its tokens stop at once when the application is switched off, deleted, or changed to another type.
  • Every use is recorded. Each admin request made with its token writes an admin.service_token.used audit event with the application, the tenant, the method and the path.

The application's page says what its key can administer. Keep the private key on a server; never put it in a browser, a mobile app or a repository. The downloadable guide for a service application covers only getting a token and calling the admin API.

Client credentials grant

A service application uses the client_credentials grant for a token with no person behind it. An application that signs people in cannot: the token endpoint answers it unauthorized_client. The token carries sub set to the client ID and the application's allowed scopes. Do not use it for anything a person does: there is no person to read from it.

Theme

Hosted Login Theme on the client's page picks the look of the sign-in page for this application. With Default hosted login, the sign-in page uses the tenant's own theme, or the built-in look when the tenant has none. One theme can serve many clients.

Allowed Themes lists other themes of the tenant that the application may ask for with ?theme_id=... on the sign-in page. The client's own theme is always allowed. See the theme studio overview.

Sign-in providers

Linked Providers on the client's page lists the tenant's active sign-in providers. Tick the ones the application's sign-in page should offer and click Save Provider Links. See the providers guide for setting providers up.

Nothing stops you from turning password sign-in off with no provider linked. The sign-in page then offers no way in.

Provider Token Brokering lists, one per line, the providers the application may ask for upstream tokens for. Only the tenant's own providers can be named.

Two-factor

A person turns on two-factor for their own account on their profile page: they scan a code with an authenticator app, confirm one code, and keep the backup codes. From then on signing in with a password asks for a 6-digit code as a second step, at every application. After five wrong codes the second step is refused for fifteen minutes (both numbers are security-policy settings).

Require MFA for password sign-in on an application means the application gets no sign-in from a password alone. A person who has two-factor on types their code as usual. A person who has not is shown, right after their password is accepted, how to add an authenticator app (or a passkey, where the application allows them): they scan the code, type the first code from the app, keep the backup codes, and go straight on to the application. Nothing about it is shown before the password is right, so the page tells nobody which accounts have two-factor. Someone who leaves that step is signed out and gets no access to the application.

A passkey sign-in counts as two-step: the device checks a PIN or a biometric as well as holding the key, and a passkey sign-in without that check is refused.

An account with two-factor on is not sent sign-in links, since a link would skip the second step.

Sign-in rules

The switches Allow password sign-in, Require MFA for password sign-in, Allow sign-in by emailed link and Allow passkey sign-in are applied twice: on the application's sign-in page, and again when the application asks for a sign-in (the authorization endpoint), to the session the browser already holds. The applications of a tenant share sessions, so without the second check a person who signed in through a lenient application could open a strict one. The switches are read from the database on every request, so a change applies at once. An application that is switched off or deleted has no sign-in page: a request that names it is answered as for an application that does not exist.

Each session records how the person signed in: by password, by password and a code, by passkey, by an emailed link, or through an identity provider. When an application is opened with a session it would not have let in, it gets no code. The person is sent to sign in again for that application and told why in plain words; for a missing second factor they are pointed to their profile page to set one up. Once they have signed in a way the application accepts, they are sent on to it.

The session was opened byNot accepted when
PasswordAllow password sign-in is off
Password, without the code stepRequire MFA for password sign-in is on
PasskeyAllow passkey sign-in is off
Emailed linkLinks are not offered (see below)

A session from an upstream identity provider is not judged by these switches. It is accepted only when that provider is one of the application's own (listed under its identity providers); a session from any other provider of the tenant is sent to sign in again.

After ten password sign-ins in a row that did not succeed, password sign-in to that address is refused for fifteen minutes, whoever tries and from wherever. An address with no account is treated the same way. Both numbers are settings: the platform's under Settings → Security policy, and a tenant's own, which can only be stricter, under Tenant → Security policy. The account's owner is emailed a link that lifts the lock, so knowing someone's address is not enough to keep them out.

Sign-in by emailed link

Turn on Allow sign-in by emailed link and fill in Sign-in start URL with the application's own sign-in address (for the Nuxt module: https://<the application>/auth/login). The address must be https, or http on localhost for development.

People then see Email me a sign-in link under the password form, and the application can send links itself. A link works once: for 15 minutes when the person asked for it, and for the time the application chose (one hour unless it says otherwise) when the application sent it. It is not sent to an account with a second factor enabled, and the switch has no effect while Require MFA for password sign-in is on or password sign-in is off: a link cannot stand in for a second factor.

Leave the start URL empty and links still sign people in, but they land on this service's profile page, not in the application.

Rules, claims and the application-side call: Sign-in links and signing a person out.

Sign a person out

For a lost phone or a shared computer left signed in. On the application's page, Sign a person out takes an email address and signs that person out of this application on every device, within about a minute.

They are asked to sign in again the next time they open this application, even though they are still signed in to others. It does not block them from signing in again: deactivate them in the application for that. The page answers the same way whether or not the address has an account.

Denied page

Denial Experience sets what Claxx Auth's own /denied page shows when the application turns away someone who signed in:

  • Support contact: an https:// page or a mailto: address, shown as a link. Anything else is refused, and the page shows no link for a stored value that breaks the rule.
  • Message override: up to 600 characters that replace the body text for every reason.

Preview opens the page for this application.

Switching off and deleting

Clear Active and click Save to switch an application off. Nobody can sign in through it: the authorization endpoint answers 400 (Invalid client_id), its key gets no tokens, and a service application's admin key stops working. Tick Active again to switch it back on (for a service application, only a platform admin can).

Delete Client in the Danger Zone switches the application off for good:

  • the record is kept, marked deleted and switched off, and no longer appears in the admin pages;
  • every access token, authorization code and sign-in link issued for it is deleted, so they stop working at once;
  • its slug can never be used again, by any tenant.

A deleted client cannot be edited or switched back on. People's accounts are not touched.

Common failure modes

SymptomLikely cause
Invalid redirect_uri on Claxx Auth's page at sign-inThe address the application sent is not registered exactly. Check the path, the port, the trailing slash and any query.
Invalid client_id on Claxx Auth's page at sign-inWrong client ID, the client belongs to another tenant's address, or it is switched off.
error=invalid_scope back at the applicationIt asked for a scope that is not in Allowed Scopes, or for admin.
The token endpoint answers 401The assertion was signed with an old key (after a rotation), a wrong kid, or the client is switched off.
After sign-out people stay on Claxx Auth's pageThe post-logout address the application sent is not registered.
The sign-in page has no way inPassword sign-in is off and no provider is linked.
The wrong theme showsThe application's hostedLoginSlug (or client_slug) does not match the client's slug.

Next

  • Theme studio overview: design the sign-in page for this client.
  • Providers: set up the providers you link here.
  • Invitations: bring people in to this client.

On this page

  • What a client record carries
  • Creating a client
  • Right after creating it
  • Naming
  • Redirect URIs and post-logout redirect URIs
  • The configuration check
  • The client's key
  • PKCE, nonce and tokens
  • Scopes
  • The admin scope
  • Client types
  • Service applications
  • Client credentials grant
  • Theme
  • Sign-in providers
  • Two-factor
  • Sign-in rules
  • Sign-in by emailed link
  • Sign a person out
  • Denied page
  • Switching off and deleting
  • Common failure modes
  • Next
DocsPrivacyTerms
© 2026 Claxx Digital Group