profile

package
v0.0.1-dev.6 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 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. A service account uses client credentials, RFC 6749 §4.4; the conformance suite is given one.
  • 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 refresh naming a different resource is refused with invalid_target, RFC 8707 §2.
  • Scope. The issued scope is the requested scopes limited to those the resource registered and the subject holds through a permission set. When it differs from the request, the token response carries the scope parameter, RFC 6749 §5.1. 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.
  • 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, iss, sub, client_id, exp, aud and scope, and authenticates the caller by the shared bearer, which RFC 7662 §2.1 allows.
  • Discovery. {issuer}/.well-known/openid-configuration serves OpenID Connect Discovery 1.0 §4. Holon reads the authorization, device, token 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