Repository navigation
The first release. beffroi/core, and every package that requires it, requires symfony/key-management 8.2, published
only as pre-releases until Symfony 8.2.0 is out: until then, a project that requires them sets
"minimum-stability": "beta" and "prefer-stable": true in its composer.json.
Added
beffroi/beffroi, the provider: an OAuth 2.0 authorization server, an OpenID Provider and a SAML 2.0 identity
provider in one Symfony application on FrankenPHP, configured through its environment. Each release publishes it as
the imageghcr.io/beffroi-auth/beffroi, for linux/amd64 and linux/arm64. Its server runs 4 threads of the provider
and 2 of the administration API whatever the cores of the host, each holding one connection to the database, and
FRANKENPHP_WORKER_NUMandFRANKENPHP_ADMINISTRATION_WORKER_NUMset them.beffroi/core, the identity model the provider owns: tenants, people with a stablesub, credentials, linked
identities, groups, authentication sessions and keys.- Passwords under typed hashes, passkeys, TOTP and backup codes, each a credential of its own;
amrandacron the
ID token, and a step-up when a client asks foracr_values. beffroi/oidc, OAuth 2.0 and OpenID Connect: the authorization code grant with PKCES256, refresh tokens,
client_credentials, the device authorization grant (RFC 8628), CIBA in poll and ping modes, token exchange
(RFC 8693) and the JWT bearer grant (RFC 7523);at+jwtaccess tokens (RFC 9068), UserInfo, introspection,
revocation, discovery and the JWK Set.- Pushed authorization requests (RFC 9126), request objects by value and by reference (RFC 9101), signed authorization
responses (JARM),form_post, resource indicators (RFC 8707) and rich authorization requests (RFC 9396). - Client authentication by
private_key_jwtandclient_secret_jwt, and tokens bound to a key by DPoP (RFC 9449).
Mutual TLS client authentication and certificate-bound tokens (RFC 8705) are announced and served only when
BEFFROI_MTLS_ORIGINnames the host that asks for the certificate, andtls_client_authonly when
BEFFROI_MTLS_CERTIFICATE_AUTHORITIESnames the authorities whose certificates it accepts, which the provider
validates the certificate against when it is presented. - RP-Initiated, Back-Channel and Front-Channel Logout.
- Dynamic client registration (RFC 7591, RFC 7592), controlled by initial access tokens; pairwise subjects and a login
the provider begins at the client. - Signing keys sealed through
symfony/key-management, by Vault Transit, AWS KMS or a key file, and rotated without an
outage. - Personal data encrypted at rest under data keys of the tenant, with blind indexes for the lookups.
beffroi/saml, SAML 2.0: the identity provider of a tenant, and its service provider toward an upstream identity
provider, onbeffroi/saml2-bindings(HTTP-Redirect and HTTP-POST),beffroi/saml2-model(messages, assertions and
metadata) andbeffroi/xml-security(a safe DOM, XML Signature and XML Encryption).- The pages of a tenant and the account of a person, in 31 languages of Europe, every member state of the European
Union in its national language: their sessions, the applications that hold something of them, the information they
may change, the history of their record, and an archive of everything the provider holds about them. - The administration API of an instance, served apart from its endpoints and its pages, and
beffroi/tui, its terminal
client. Each release carries the client asbeffroi-tui.pharand as executables for Linux x86_64, Linux arm64 and
macOS on Apple silicon, withSHA256SUMSand its signature. - Every secret the image reads, the secret of the kernel, the database and the role that owns its tables, the key
management service, the lanes, mail, SMS and the licence of the address databases, may be given as a file, its path
in the variable of the same name ending in_FILE, where Swarm and Compose mount a secret; naming both is refused.
gpg, the one program the provider starts, gets none of its environment.
Changed
- Nothing.
Deprecated
- Nothing.
Removed
- Nothing.
Fixed
- Nothing.