zitadel/internal/api/grpc/user/v2
Livio Spring 0e99c8356a
fix: correctly check user auth methods and enable button (#8342)
# Which Problems Are Solved

#8291 added backwards compatibilty for users who were created through
the user V2 API and want to sign in to the login UI.
There were however to issues, where users might be prompted to set a
password even if they already had one set or they would not be able to
submit the email verification code.

# How the Problems Are Solved

- Replaced `SearchUserAuthMethods `with `ListUserAuthMethodTypes` to
check for set up auth methods.
- Fixed page / javascript to disable submit button.

# Additional Changes

- Changed `ListActiveUserAuthMethodTypes ` to `ListUserAuthMethodTypes`
and a `activeOnly` boolean parameter

# Additional Context

- relates to #8291
- noticed internally on QA
2024-07-22 14:46:27 +02: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 fix: add details to ListUsers for user results (#8255) 2024-07-10 17:49:35 +02:00
query.go fix: add details to ListUsers for user results (#8255) 2024-07-10 17:49:35 +02:00
server.go feat: user v2 service query (#7095) 2024-01-17 10:00:10 +01:00
totp_integration_test.go fix: add missing totp remove endpoint in user v2 API (#8256) 2024-07-10 12:31:28 +00:00
totp_test.go feat(api): move resource apis to beta (#6530) 2023-09-13 12:43:01 +00:00
totp.go fix: add missing totp remove endpoint in user v2 API (#8256) 2024-07-10 12:31:28 +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: correctly check user auth methods and enable button (#8342) 2024-07-22 14:46:27 +02:00