zitadel/internal/api/authz
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
..
access_token_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
access_token.go feat: add SYSTEM_OWNER role (#6765) 2023-10-25 15:10:45 +00:00
api_token_verifier.go feat: add SYSTEM_OWNER role (#6765) 2023-10-25 15:10:45 +00:00
authorization_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
authorization.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
config.go feat: user v2alpha email API (#5708) 2023-04-25 09:02:29 +02:00
context_mock.go feat(api): add OIDC session service (#6157) 2023-07-10 13:27:00 +00:00
context.go feat(oidc): token exchange impersonation (#7516) 2024-03-20 10:18:46 +00:00
detach.go perf: query data AS OF SYSTEM TIME (#5231) 2023-02-27 22:36:43 +01:00
instance_test.go feat: impersonation roles (#7442) 2024-02-28 10:21:11 +00:00
instance.go feat: impersonation roles (#7442) 2024-02-28 10:21:11 +00:00
membertype_enumer.go feat: add SYSTEM_OWNER role (#6765) 2023-10-25 15:10:45 +00:00
permissions_test.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
permissions.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
session_token.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
system_token.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
user.go refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00