Repository navigation
0.2.0-alpha
Pre-release
Pre-release
What a product needs to move its web sign-in onto a shared token server without losing what its Entra sign-in gave it. 0.x versions may change their APIs.
- Packages: nuget.org/profiles/JeffOps (all
JeffOps.*packages at0.2.0-alpha, with symbol packages) - Build provenance: attestation, signed through Sigstore
- Changes since 0.1.0-alpha: v0.1.0-alpha...v0.2.0-alpha
Added
- Upstream identity for first-party clients (
Clients[].ForwardUpstreamIdentity,Clients[].UpstreamClaims): the
provider, the user's issuer and subject there (idp,idp_iss,idp_sub) and chosen provider claims in the client's
access tokens, only from providers configured on the server, audited. - Authentication contexts through providers (
acr_values): passed to the provider (Entra: theclaimsparameter
withacrs); a sign-in through a configured provider that didn't report them signs in again once. Clients receive the
provider'sacrsthroughUpstreamClaims. - Checking sessions with their provider again (
Providers:{name}:SessionCheckInterval, Entra and OIDC providers): the
provider's refresh token is kept with the session and redeemed at most once per interval; a provider that refuses it ends
the session, with back-channel logout. New tableProviderSessions(migrationProviderSessions). - Session lifetime per client (
Clients[].SessionLifetime). Ended sessions and spent refresh tokens are kept for the
longest lifetime of any client. - Skipping the login page (
Clients[].SkipLoginPage): a client with exactly one provider can send its users straight
to it. - Deleting accounts: by the user (
DELETE account) or an operator (DELETE admin/accounts/{id}), both with step-up,
and for inactivity (InactiveAccounts:DeleteAfter, warnedWarnBeforeahead throughINotifier). Modules erase their
own data (IAccountDataEraser); the only administrator of a tenant and SCIM-provisioned accounts can't be deleted.
Eventauth.account.deleted.v1. New columnsAccounts.LastActiveAtUnixMsandDeletionWarnedAtUnixMs(migration
AccountActivity; existing accounts count as active from the migration). tenant_hinton the BFF's/bff/login, passed on to the token server (tenant ids only).
Upgrading
- Two SQL Server migrations,
ProviderSessionsandAccountActivity: apply them before the new version starts, as you
apply migrations now. - Sign-ins, refreshes and personal access token exchanges now record the account's activity: at most one write per account
per day. - Hosts with their own
IAccountRepository: it has three new members (ListToWarnOfDeletionAsync,
ListDueForDeletionAsync,Remove).