zitadel/cmd
Livio Spring fb8cd18f93
feat: password age policy (#8132)
# Which Problems Are Solved

Some organizations / customers have the requirement, that there users
regularly need to change their password.
ZITADEL already had the possibility to manage a `password age policy` (
thought the API) with the maximum amount of days a password should be
valid, resp. days after with the user should be warned of the upcoming
expiration.
The policy could not be managed though the Console UI and was not
checked in the Login UI.

# How the Problems Are Solved

- The policy can be managed in the Console UI's settings sections on an
instance and organization level.
- During an authentication in the Login UI, if a policy is set with an
expiry (>0) and the user's last password change exceeds the amount of
days set, the user will be prompted to change their password.
- The prompt message of the Login UI can be customized in the Custom
Login Texts though the Console and API on the instance and each
organization.
- The information when the user last changed their password is returned
in the Auth, Management and User V2 API.
- The policy can be retrieved in the settings service as `password
expiry settings`.

# Additional Changes

None.

# Additional Context

- closes #8081

---------

Co-authored-by: Tim Möhlmann <tim+github@zitadel.com>
2024-06-18 11:27:44 +00:00
..
admin chore: test server for direct resource access 2023-04-24 20:40:31 +03:00
build fix: allow version to be overwritten by build again (#4656) 2022-11-07 09:50:44 +00:00
encryption fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
hooks feat: support whole config as env (#6336) 2024-02-16 16:04:42 +00:00
initialise feat(cmd): mirror (#7004) 2024-05-30 09:35:30 +00:00
key fix(db): always use begin tx (#7142) 2024-01-04 16:12:20 +00:00
mirror fix: read correct defaults (#8090) 2024-06-10 11:46:28 +02:00
ready feat(api): feature flags (#7356) 2024-02-28 10:55:54 +02:00
setup feat: password age policy (#8132) 2024-06-18 11:27:44 +00:00
start feat(cmd): mirror (#7004) 2024-05-30 09:35:30 +00:00
tls
defaults.yaml feat(init): configurable existing postgres db (#8045) 2024-06-10 10:49:30 +00:00
zitadel.go feat(cmd): mirror (#7004) 2024-05-30 09:35:30 +00:00