Tim Möhlmann
6a51c4b0f5
feat(oidc): optimize the userinfo endpoint ( #7706 )
...
* feat(oidc): optimize the userinfo endpoint
* store project ID in the access token
* query for projectID if not in token
* add scope based tests
* Revert "store project ID in the access token"
This reverts commit 5f0262f239
.
* query project role assertion
* use project role assertion setting to return roles
* workaround eventual consistency and handle PAT
* do not append empty project id
2024-04-09 15:15:35 +02:00
Tim Möhlmann
2089992d75
feat(crypto): use passwap for machine and app secrets ( #7657 )
...
* feat(crypto): use passwap for machine and app secrets
* fix command package tests
* add hash generator command test
* naming convention, fix query tests
* rename PasswordHasher and cleanup start commands
* add reducer tests
* fix intergration tests, cleanup old config
* add app secret unit tests
* solve setup panics
* fix push of updated events
* add missing event translations
* update documentation
* solve linter errors
* remove nolint:SA1019 as it doesn't seem to help anyway
* add nolint to deprecated filter usage
* update users migration version
* remove unused ClientSecret from APIConfigChangedEvent
---------
Co-authored-by: Livio Spring <livio.a@gmail.com>
2024-04-05 09:35:49 +00:00
Tim Möhlmann
f680dd934d
refactor: rename package errors to zerrors ( #7039 )
...
* chore: rename package errors to zerrors
* rename package errors to gerrors
* fix error related linting issues
* fix zitadel error assertion
* fix gosimple linting issues
* fix deprecated linting issues
* resolve gci linting issues
* fix import structure
---------
Co-authored-by: Elio Bischof <elio@zitadel.com>
2023-12-08 15:30:55 +01:00
Tim Möhlmann
2e505f40f9
fix(oidc): return clients without instance settings ( #7036 )
2023-12-07 09:43:45 +00:00
Tim Möhlmann
ec03340b67
perf(oidc): optimize client verification ( #6999 )
...
* fix some spelling errors
* client credential auth
* implementation of client auth
* improve error handling
* unit test command package
* unit test database package
* unit test query package
* cleanup unused tracing func
* fix integration tests
* errz to zerrors
* fix linting and import issues
* fix another linting error
* integration test with client secret
* Revert "integration test with client secret"
This reverts commit 0814ba522f
.
* add integration tests
* client credentials integration test
* resolve comments
* pin oidc v3.5.0
2023-12-05 17:01:03 +00:00