zitadel/internal/api/grpc/auth
Livio Spring 4c83493ad2
fix: user grants deactivation (#8634)
# Which Problems Are Solved

ZITADEL's user grants deactivation mechanism did not work correctly.
Deactivated user grants were still provided in token, which could lead
to unauthorized access to applications and resources.
Additionally, the management and auth API always returned the state as
active or did not provide any information about the state.

# How the Problems Are Solved

- Correctly check the user grant state on active for tokens and user
information (userinfo, introspection, saml attributes)
- Map state in API and display in Console

(cherry picked from commit ca1914e235)
2024-09-17 15:35:36 +02:00
..
avatar.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
email_converter.go fix: make user creation errors helpful (#5382) 2023-03-14 19:20:38 +00:00
email.go fix: allow login with user created through v2 api without password (#8291) 2024-07-17 06:43:07 +02:00
idp_converter.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
idp.go fix: generalise permission check for query user information (#8458) 2024-08-23 06:44:18 +00:00
information.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
language.go refactor(fmt): run gci on complete project (#7557) 2024-04-03 10:43:43 +00:00
metadata_converter.go fix(api): correct mapping of metadata queries (#7609) 2024-03-21 14:56:58 +00:00
multi_factor.go fix: generalise permission check for query user information (#8458) 2024-08-23 06:44:18 +00:00
password_complexity.go feat: remove org (#4148) 2022-11-30 17:01:17 +01:00
password.go fix: check password complexity policy and respect changeRequired on password change (#7884) 2024-05-02 11:50:13 +02:00
passwordless.go fix: generalise permission check for query user information (#8458) 2024-08-23 06:44:18 +00:00
permission_converter.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
permission.go perf: user grant owner removed (#6962) 2024-01-08 15:26:30 +00:00
phone_converter.go fix: make user creation errors helpful (#5382) 2023-03-14 19:20:38 +00:00
phone.go perf(oidc): optimize the introspection endpoint (#6909) 2023-11-21 13:11:38 +01:00
policy.go feat(auth api): expose login policy of authenticated user (#4979) 2023-01-05 13:04:38 +00:00
profile_converter.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
profile.go perf(oidc): optimize the introspection endpoint (#6909) 2023-11-21 13:11:38 +01:00
refresh_token.go fix(current_sequence): no error if not found (#3740) 2022-05-31 11:50:51 +00:00
server.go feat: trusted (instance) domains (#8369) 2024-07-31 18:00:38 +03:00
user_grant.go fix: user grants deactivation (#8634) 2024-09-17 15:35:36 +02:00
user.go feat: org v2 ListOrganizations (#8411) 2024-08-15 06:37:06 +02:00