zitadel/internal/repository/user
Tim Möhlmann 6398349c24
feat(oidc): token exchange impersonation (#7516)
* add token exchange feature flag

* allow setting reason and actor to access tokens

* impersonation

* set token types and scopes in response

* upgrade oidc to working draft state

* fix tests

* audience and scope validation

* id toke and jwt as input

* return id tokens

* add grant type  token exchange to app config

* add integration tests

* check and deny actors in api calls

* fix instance setting tests by triggering projection on write and cleanup

* insert sleep statements again

* solve linting issues

* add translations

* pin oidc v3.15.0

* resolve comments, add event translation

* fix refreshtoken test

* use ValidateAuthReqScopes from oidc

* apparently the linter can't make up its mind

* persist actor thru refresh tokens and check in tests

* remove unneeded triggers
2024-03-20 10:18:46 +00:00
..
schema feat: implement user schema management (#7416) 2024-03-12 13:50:13 +00:00
aggregate.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
auth_request_info.go fix: move v2 pkgs (#1331) 2021-02-23 15:13:04 +01:00
eventstore.go feat(oidc): token exchange impersonation (#7516) 2024-03-20 10:18:46 +00:00
human_address.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
human_avatar.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
human_email.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
human_external_idp.go fix: update external username on idp if auto update is enabled (#7048) 2023-12-08 18:22:07 +01:00
human_mfa_events.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
human_mfa_otp.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
human_mfa_passwordless.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
human_mfa_u2f.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
human_mfa_web_auth_n.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
human_password.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
human_phone.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
human_profile.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
human_refresh_token.go feat(oidc): token exchange impersonation (#7516) 2024-03-20 10:18:46 +00:00
human.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
machine_key.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
machine_secret.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
machine.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
metadata.go feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
personal_access_token.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user.go feat(oidc): token exchange impersonation (#7516) 2024-03-20 10:18:46 +00:00
v1.go fix: password hash update and add missing i18n (#6285) 2023-07-28 09:09:15 +02:00