zitadel/internal/api/grpc
Tim Möhlmann ba9b807854
perf(oidc): optimize the introspection endpoint (#6909)
* get key by id and cache them

* userinfo from events for v2 tokens

* improve keyset caching

* concurrent token and client checks

* client and project in single query

* logging and otel

* drop owner_removed column on apps and authN tables

* userinfo and project roles in go routines

* get  oidc user info from projections and add actions

* add avatar URL

* some cleanup

* pull oidc work branch

* remove storage from server

* add config flag for experimental introspection

* legacy introspection flag

* drop owner_removed column on user projections

* drop owner_removed column on useer_metadata

* query userinfo unit test

* query introspection client test

* add user_grants to the userinfo query

* handle PAT scopes

* bring triggers back

* test instance keys query

* add userinfo unit tests

* unit test keys

* go mod tidy

* solve some bugs

* fix missing preferred login name

* do not run triggers in go routines, they seem to deadlock

* initialize the trigger handlers late with a sync.OnceValue

* Revert "do not run triggers in go routines, they seem to deadlock"

This reverts commit 2a03da2127.

* add missing translations

* chore: update go version for linting

* pin oidc version

* parse a global time location for query test

* fix linter complains

* upgrade go lint

* fix more linting issues

---------

Co-authored-by: Stefan Benz <46600784+stebenz@users.noreply.github.com>
2023-11-21 13:11:38 +01:00
..
action feat: add saml custom attribute action and translations (#6341) 2023-08-15 15:04:45 +00:00
admin perf(oidc): optimize the introspection endpoint (#6909) 2023-11-21 13:11:38 +01:00
auth perf(oidc): optimize the introspection endpoint (#6909) 2023-11-21 13:11:38 +01:00
authn chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
change refactor(changes): use queries.SearchEvents (#5388) 2023-03-17 09:14:06 +00:00
client/middleware chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
errors remove negated integration tags 2023-04-26 19:55:13 +03:00
event chore(deps): upgrade all go modules (#6895) 2023-11-13 10:41:29 +00:00
idp fix: list mapping of saml provider configuration type (#6815) 2023-10-26 10:06:37 +00:00
instance feat(system api): list instances by domains (#6806) 2023-10-25 19:20:12 +00:00
management perf(oidc): optimize the introspection endpoint (#6909) 2023-11-21 13:11:38 +01:00
member chore(console): remove first and lastName fallback from user (#5629) 2023-04-11 15:56:51 +00:00
metadata fix: org metadata query (#6161) 2023-07-07 15:48:41 +02:00
object feat(eventstore): increase parallel write capabilities (#5940) 2023-10-19 12:19:10 +02:00
oidc/v2 feat(oidc): use the new oidc server interface (#6779) 2023-10-25 15:44:05 +00:00
org feat(api): move resource apis to beta (#6530) 2023-09-13 12:43:01 +00:00
policy feat: add attribute to only enable specific themes (#6798) 2023-10-26 05:54:09 +00:00
project feat: device authorization RFC 8628 (#5646) 2023-04-19 08:46:02 +00:00
server chore(deps): upgrade all go modules (#6895) 2023-11-13 10:41:29 +00:00
session/v2 perf(oidc): optimize the introspection endpoint (#6909) 2023-11-21 13:11:38 +01:00
settings feat: add attribute to only enable specific themes (#6798) 2023-10-26 05:54:09 +00:00
system perf: remove owner removed columns from projections for oidc (#6925) 2023-11-20 17:21:08 +02:00
text feat: add Help/Support e-mail for instance/org (#5445) 2023-03-28 21:36:52 +02:00
user perf(oidc): optimize the introspection endpoint (#6909) 2023-11-21 13:11:38 +01:00
config.go remove pointers on configs 2020-03-27 13:57:16 +01:00
fields.go fix: provide more information in the retrieve idp information (#5927) 2023-06-20 14:39:50 +02:00
header_test.go remove negated integration tags 2023-04-26 19:55:13 +03:00
header.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
probes_test.go add server reflection to Probes list 2023-05-07 16:47:43 +02:00
probes.go add server reflection to Probes list 2023-05-07 16:47:43 +02:00