Integration: OpenID Connect

Sign In Where Your Team Already Signs In

Microsoft Entra ID, Google Workspace, Authentik, Keycloak, or any provider that speaks OpenID Connect: people press Sign in with, and their groups at the provider say whether they are a viewer, an operator or an admin. It is part of qKVM like everything else, free.

What It Does

Groups give the role

Each group you name gives viewer, operator or admin, and somebody in several gets the highest. Read again at every sign-in.

Eight hours at the most

A sign-in by the provider lasts 8 hours however much it is used, so somebody taken out of a group loses that role within 8 hours.

A way in when it is down

The wall's own passwords keep working beside it. The last admin who signs in with one cannot be removed, demoted or suspended, not even by an admin of the provider's.

Its second step

The provider does its own second step, and qKVM's code is not asked of its sign-ins.

Sign them out

One button ends at once every sign-in the provider made, live views included, but that of the admin who presses it.

Who else may sign in

Only those in a group you named, or anybody the provider signs in, as a role you choose. An email domain narrows that to verified addresses at it.

On the record

Every sign-in, every refusal with its reason, and a role changed by groups, in the activity log. Never a token, a code or the secret.

Four Providers, Written Out

ProviderIssuerGroups
Microsoft Entra IDhttps://login.microsoftonline.com/<tenant ID>/v2.0A groups claim of the groups assigned to the application, sent by Object ID; or app roles, with the claim roles
Google Workspacehttps://accounts.google.comNone sent: the claim left empty, one role for everybody, and your Workspace's email domain
Authentikhttps://auth.example.org/application/o/<slug>/, with the slash at its endgroups, by name, through the profile scope
Keycloakhttps://keycloak.example.org/realms/<realm>A Group Membership mapper, claim groups, Full group path off
Each setup was written from the provider's own documentation. Sign-in was tried against a stand-in provider, not yet against these four: see Limits.

Set It Up

  1. At the providerA web application, with the redirect URI that qKVM's box shows.
  2. In qKVMSettings, Accounts, Identity provider, Set up: the issuer, the client ID and the client secret.
  3. Groups to rolesThe groups claim, and each group with the role it gives, written as the provider sends it.
  4. Sign inThe sign-in page shows Sign in with and the name you gave, above the password.

Checked Strictly

Redirect URI
This wall's address as you are looking at it, followed by /api/v1/oidc/callback. Open the settings at the address your team uses: sign-ins begin and end there.
The flow
The authorization code flow with PKCE (S256), and nothing else. A state and a nonce of each sign-in's own, kept ten minutes and taken once, from the browser that began it.
The ID token
Signed RS256 or ES256 only: never none, never HS256, never a key the token carries. iss, aud, azp, exp, iat, nbf and nonce checked, and iss on the way back (RFC 9207).
The secret
Stored encrypted with the saved passwords, never shown again, and sent to that issuer and that client ID alone.
Changed settings
A change of who gets what signs out at once everybody the provider signed in, live views included.
After a restart
A provider's sign-in does not outlast one: the button signs in again. Started with --locked-start, the button works once somebody has signed in with a password.
Not offered
SAML and SCIM. The Desktop App does not sign in to a wall through its provider. Entra ID with more groups than fit in a token is refused: have it send only the groups assigned to the application.