Repository navigation
Releases
Release v0.12.0
A product can now ask Cratis Identity to add or retire a client on a person's behalf, without writing into Identity's store.
Added
- Two public contract events,
ClientRegistrationRequestedandClientRetirementRequested, which a product appends to its own outbox. (part of #235) - Cratis Identity carries a request out only when it names one of its security owners. A registration creates a public native PKCE client with exact loopback redirect addresses and scopes Identity serves; a retirement applies only to clients registered at runtime. Anything else is refused and logged, and the outcome reaches the product through the client events Identity already publishes.
- Setting
Identity:ClientRequests:SourceStoreto the product's event store name turns this on. Left empty, Identity ignores requests.
Release v0.11.1
Changed
- Cratis.Identity.Contracts is published to nuget.org through trusted publishing, with a short-lived key, instead of the organization's API key.
Release v0.11.0
Clients registered while Cratis Identity runs are now served by the protocol endpoints, and their secrets are verified, instead of existing only as events.
Added
- Clients registered through the registration commands can sign people in and request tokens: Cratis Identity reads their registrations and serves them next to the clients its configuration declares, refreshing every 15 seconds. (part of #235) (part of #107)
- Confidential clients authenticate with the secret from their registration, including the previous secret while a rotation's overlap window lasts. Retired clients are refused.
Changed
- OpenIddict's application cache is switched off for every deployment, so a new client, changed redirect addresses or a rotated secret take effect without waiting for a cached answer to expire.
- A registered client whose client id the configuration also declares is not served, and the refusal is logged.
Release v0.10.2
The contracts package could not be published because nuget.org has no trusted-publishing policy for this repository, so the release's publish step failed. It now pushes with the organization's NuGet API key.
Fixed
- Releases publish the
Cratis.Identity.Contractspackage to nuget.org.
Release v0.10.1
Every Cratis Identity release now also publishes the contracts package, so products that consume Identity's published events can reference it by version.
Added
- Each release publishes the
Cratis.Identity.ContractsNuGet package, containing the client, account, sign-in and resource contracts that Cratis Identity publishes.
Release v0.10.0
Identity now records every accepted sign-in and publishes it, so a product can keep a login history from its own event store without reading Identity's.
Added
AccountSignedIn, a public contract published through the outbox for every accepted sign-in, on the account's own stream. It carries the sign-in time, the upstream connection and the issuer that proved it, and no address, device, token or personal value (part of #234).- The
AccountSignInRecordedsource fact behind it, recorded by the sign-in command for both a first sign-in and a returning one, with a fact id derived from the accepted operation so a retried sign-in is published once (part of #234).
Changed
- A returning sign-in that changes nothing in the profile now appends one event instead of none.
Release v0.9.0
Products can now follow a realm's clients from their own event store, without reading Identity's. Identity publishes four public client contracts through its outbox, on each client's own stream.
Added
ClientAdded, published exactly once per client, on the stream of itsClientRegistrationId. The protocol client id is a field, never the stream identity (part of #234).RedirectUrisChangedForClient,SecretRotatedForClientandClientPermanentlyRetiredfor what follows. A secret change is its own event, so registration is never repeated (part of #234).- A
ClientPublicationsreactor that appends them to the outbox in source order. Each publication is idempotent and keyed by what makes it unique, so a redelivered fact is published once and a redirect list that returns to an earlier value is still published (part of #234).
Changed
- Nothing already released changes: the four existing client events stay Identity's internal facts, and the released-schema gate reports no changed or removed rows.
Release v0.8.0
Cratis Identity can now keep its fence log in the same MongoDB deployment as its operational store, when the operator says so.
Added
Identity:FenceLog:AllowSharedDeployment(environment variableIdentity__FenceLog__AllowSharedDeployment), off by default. When on, Identity no longer refuses a fence log that shares a replica set with the operational store. The fence-log database must still differ from the operational one, and a fence log on the same server with the same database name is still refused.- Documentation of the setting and its conditions: backups and restores are made per database, the fence-log database is backed up on its own, and it is never restored together with, or to an earlier point than, the operational database.
Release v0.7.0
Fixed
- Access-token upstream identity claims now describe the exact link used to authenticate, without falling back to another linked account. Missing or unsupported authenticating links omit upstream claims, including when renewing older grants without a link stamp. (part of #118)
Release v0.6.0
Changed
- Identity now targets both .NET 10 and .NET 11, with compatible dependency updates and development Chronicle kernels aligned with the client packages (part of #228)