Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
Update service-token-router.ts
Daniel Hougaard0d9ec7cd769f
diff --git a/backend/src/server/routes/v2/service-token-router.ts b/backend/src/server/routes/v2/service-token-router.tsindex 3ebce77dc3..52e4d7334b 100644--- a/backend/src/server/routes/v2/service-token-router.ts+++ b/backend/src/server/routes/v2/service-token-router.ts@@ -36,6 +36,7 @@ export const registerServiceTokenRouter = async (server: FastifyZodProvider) =>actor: req.permission.type});+ // We return the user here because older versions of the deprecated Python SDK depend on it to properly parse the API response.return { ...serviceToken, workspace: serviceToken.projectId, user };}});