profile

package
v0.0.1-dev.12 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2026 License: Apache-2.0 Imports: 0 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package profile states what Holon requires of an identity backend, so a backend is built against the standards and not against one provider. It has no code. Package conformance tests a live issuer and adapter against these rules.

  • Clients. The browser client is confidential and uses the authorization code grant with PKCE S256, RFC 6749 §4.1 and RFC 7636 §4.2. The cli client is public and uses the device authorization grant, RFC 8628 §3, with offline_access. One person has one sub at both, the public subject type of OpenID Connect Core 1.0 §8. A service account uses client credentials, RFC 6749 §4.4; the conformance suite is given one. The issuer refuses the password grant to every client, RFC 9700 §2.4.
  • Resource. Every authorization, device and token request carries exactly one resource parameter, RFC 8707 §2. The access token's aud is that resource and nothing else, RFC 8707 §2.2. A token requested for no resource or an unregistered one is inactive or refused with invalid_target, and a refresh naming a different resource is refused with invalid_target, RFC 8707 §2.
  • Scope. A request names no resource scope. The resource decides, the default RFC 6749 §3.3 allows: the issued scope is what the resource registered and the subject holds through a permission set when the token is issued, refreshes included. The token response carries it in the scope parameter, RFC 6749 §5.1, and introspection answers it as issued. Protocol scopes (openid, profile, email, offline_access) pass through unchanged.
  • Registration. A token minted before its resource was registered, or after it was deleted and registered again, is inactive.
  • People. For each person, the SCIM User id the adapter serves, RFC 7643 §3.1, is the sub of that person's sign-in at the browser client, OpenID Connect Core 1.0 §8, and GET /Users/{id} lists the permission groups the person is in.
  • Passwords. A password written through SCIM, RFC 7643 §4.1.1, is temporary: the issuer requires a new one at the first sign-in, refuses the same value, and collects the person's name there too if the account has none.
  • Invitations. An invitation link is valid for its Lifetime and no longer, and is refused once the person has finished setting up.
  • Introspection. The adapter answers RFC 7662 §2.2 with active, token_type Bearer, iss, sub, client_id, exp, aud as one string, and scope in the format of RFC 6749 §3.3 unless it is empty, and authenticates the caller by the shared bearer, which RFC 7662 §2.1 allows. A token of any other type is not active.
  • Revocation. The issuer advertises revocation_endpoint, RFC 8414 §2, and accepts RFC 7009 §2.1 from the cli client with its client_id and no credential. A revoked refresh token is refused with invalid_grant on its next use, RFC 6749 §5.2.
  • Sign-out. A request to end_session_endpoint with id_token_hint, including an expired one, ends the provider session without asking the user, OpenID Connect RP-Initiated Logout 1.0 §2: the session's access token goes inactive and its refresh token is refused with invalid_grant. With no hint the provider asks the user to confirm before it ends a browser's session. The browser client has {origin}/?signedOut=1 registered as a post-logout redirect URI for the base, admin and dev origins, and the provider redirects there after logout, OpenID Connect RP-Initiated Logout 1.0 §3.
  • Discovery. {issuer}/.well-known/openid-configuration serves OpenID Connect Discovery 1.0 §4. Holon reads the authorization, device, token, revocation and end-session endpoints from it and nowhere else.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL