zitadel/internal/api/grpc/user/v2
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
..
email_integration_test.go feat: add implementation for resend of email and phone code (#7348) 2024-02-14 07:22:55 +00:00
email.go feat: add implementation for resend of email and phone code (#7348) 2024-02-14 07:22:55 +00:00
otp_integration_test.go fix: allow other users to set up MFAs (#7914) 2024-05-07 05:38:26 +00:00
otp.go fix: remove resourceowner read from context in user v2 api (#7641) 2024-03-27 18:22:17 +00:00
passkey_integration_test.go feat: impersonation roles (#7442) 2024-02-28 10:21:11 +00:00
passkey_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
passkey.go fix: remove resourceowner read from context in user v2 api (#7641) 2024-03-27 18:22:17 +00:00
password_integration_test.go feat: impersonation roles (#7442) 2024-02-28 10:21:11 +00:00
password_test.go feat(api): move resource apis to beta (#6530) 2023-09-13 12:43:01 +00:00
password.go fix: check password complexity policy and respect changeRequired on password change (#7884) 2024-05-02 11:50:13 +02:00
phone_integration_test.go feat: add implementation for resend of email and phone code (#7348) 2024-02-14 07:22:55 +00:00
phone.go feat: add implementation for resend of email and phone code (#7348) 2024-02-14 07:22:55 +00:00
query_integration_test.go feat: password age policy (#8132) 2024-06-18 11:27:44 +00:00
query.go feat: password age policy (#8132) 2024-06-18 11:27:44 +00:00
server.go feat: user v2 service query (#7095) 2024-01-17 10:00:10 +01:00
totp_integration_test.go fix: allow other users to set up MFAs (#7914) 2024-05-07 05:38:26 +00:00
totp_test.go feat(api): move resource apis to beta (#6530) 2023-09-13 12:43:01 +00:00
totp.go fix: remove resourceowner read from context in user v2 api (#7641) 2024-03-27 18:22:17 +00:00
u2f_integration_test.go fix: allow other users to set up MFAs (#7914) 2024-05-07 05:38:26 +00:00
u2f_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
u2f.go fix: remove resourceowner read from context in user v2 api (#7641) 2024-03-27 18:22:17 +00:00
user_integration_test.go feat(saml): allow setting nameid-format and alternative mapping for transient format (#7979) 2024-05-23 05:04:07 +00:00
user_test.go feat: impersonation roles (#7442) 2024-02-28 10:21:11 +00:00
user.go fix: import totp in add human user with secret (#7936) 2024-05-14 09:20:31 +02:00