Repository navigation
Patch release on the v1.x line for step-up sign-in. max_age on /oauth/authorize can be
met, 0 included (it always ended in login_required before), and a new control, off by
default, makes acr_values=mfa require a second-factor sign-in (ACR_VALUES_MODE). No
migration, no change of default, no change to discovery or claims.
Upgrade notes
- Client-facing changes: a request with
max_agethat ended inlogin_requiredafter a fresh
sign-in on the login page now gets a code; underACR_VALUES_MODE=enforceonly, the new error
unmet_authentication_requirements. - acr_values: run
ACR_VALUES_MODE=observeand look foracr_values_unmetevents before
enforce; a user without MFA turned on cannot meetacr_values=mfa. Clients must still check
acr/amrin the token (bff.StepUp.Satisfied, backendkit v1.29.0).
Fixed
max_ageon/oauth/authorizecan be met,0included. The check ran when the user clicked
Allow on the consent page, measuring the time since the sign-in:max_age=0therefore always
ended withlogin_required(re-authentication required), and a smallmax_agedid whenever
the consent page stayed open a few seconds, so a client could not ask for a step-up sign-in
with it. A sign-in on the login page of the same request is the active re-authentication OIDC
Core §3.1.2.1 asks for, and now meets anymax_age; an earlier sign-in is checked as before.
The tokens carry that sign-in'sauth_time,amrandacr. Client-facing change: a request
withmax_agethat ended inlogin_requiredafter a fresh sign-in now gets a code.
Added
acr_values=mfacan require a second-factor sign-in (ACR_VALUES_MODE, defaultoff). A
client asking for a step-up sign-in before a sensitive action could not require a second factor:
acr_valueswas ignored, although discovery advertisesacr_values_supported
["pwd","mfa"]. Underenforce, a request whoseacr_valuesnamesmfa(and notpwd) gets a
code only for a sign-in with a second factor, and otherwise the error
unmet_authentication_requirements(OpenID Connect Unmet Authentication Requirements 1.0);
observeissues the code and auditsacr_values_unmet;offchanges nothing.acr_values
is carried through the login and consent pages and bound into the consent token. Client-facing
change: the new error code, only underenforce. The client must still checkacr/amrin the
token (asbff.StepUp.Satisfieddoes):acr_valuespasses through the browser like every
authorization parameter, so a user can drop it. Deploy note: a user without MFA turned on
cannot meetacr_values=mfa; runobservefirst.
Documentation
- The production env template lists every opt-in control.
deploy/env/socrate.env.example
gainsMFA_RECOVERY_CODES_REVERIFY_MODE(v1.16.1),AUDIT_INTEGRITY_SCAN_INTERVAL_SECONDSand
_LOOKBACK_SECONDS, andADMIN_PASSWORD_LOGIN_ENABLED, each commented out at its default; it
now matches the monitoring deploy kit's copy. No behaviour change.