mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-21 04:18:46 +00:00
fix(benchmark): set proper audience to introspect token (#11586)
# Which Problems Are Solved Benchmark appears to run correctly, however the token used isn't valid. The backend (Zitadel 4.11-pre) prints a constant stream of info logs that the token isn't valid for the client. # How the Problems Are Solved Pass the generated project IDs as a scope for a new login. # Additional Changes - ensure keys for introspection and add session recipes. # Additional Context - Closes #11585 --------- Co-authored-by: Silvan <[email protected]>
This commit is contained in:
@@ -71,6 +71,7 @@ export function introspect(jwt: string, token: string) {
|
||||
);
|
||||
check(res, {
|
||||
'introspect status ok': (r) => r.status >= 200 && r.status < 300,
|
||||
'introspect active': (r) => r.json('active') === true,
|
||||
});
|
||||
|
||||
introspectTrend.add(res.timings.duration);
|
||||
|
||||
Reference in New Issue
Block a user