zitadel/internal/user/model
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
..
address.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
email.go fix: make user creation errors helpful (#5382) 2023-03-14 19:20:38 +00:00
external_idp_view.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
external_idp.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
notify_user.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
otp.go fix: commandside queries (#1313) 2021-02-22 14:08:47 +01:00
password.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
phone.go fix: make user creation errors helpful (#5382) 2023-03-14 19:20:38 +00:00
profile.go fix: return absolute url for avatar in user sessions (#3724) 2022-05-30 11:27:52 +00:00
refresh_token_view.go feat(oidc): token exchange impersonation (#7516) 2024-03-20 10:18:46 +00:00
refresh_token.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
token_view.go feat(oidc): token exchange impersonation (#7516) 2024-03-20 10:18:46 +00:00
token.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
user_changes.go chore(deps): upgrade all go modules (#6895) 2023-11-13 10:41:29 +00:00
user_membership_view.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_session_view.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user_view.go refactor: cleanup unused code (#7130) 2024-01-02 14:26:31 +00:00