Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix: rename authMethod "token" to "token_auth" for consistency

Devin AI0265cf48f6ec
diff --git a/backend/src/server/routes/v1/identity-token-auth-router.ts b/backend/src/server/routes/v1/identity-token-auth-router.ts
index c5ed96770f..98293a6269 100644
--- a/backend/src/server/routes/v1/identity-token-auth-router.ts
+++ b/backend/src/server/routes/v1/identity-token-auth-router.ts
@@ -108,7 +108,7 @@ export const registerIdentityTokenAuthRouter = async (server: FastifyZodProvider
properties: {
identityId: identityTokenAuth.identityId,
orgId: identityTokenAuth.orgId,
- authMethod: "token"
+ authMethod: "token_auth"
}
})
.catch(() => {});
@@ -208,7 +208,7 @@ export const registerIdentityTokenAuthRouter = async (server: FastifyZodProvider
properties: {
identityId: identityTokenAuth.identityId,
orgId: identityTokenAuth.orgId,
- authMethod: "token"
+ authMethod: "token_auth"
}
})
.catch(() => {});
@@ -324,7 +324,7 @@ export const registerIdentityTokenAuthRouter = async (server: FastifyZodProvider
properties: {
identityId: identityTokenAuth.identityId,
orgId: identityTokenAuth.orgId,
- authMethod: "token"
+ authMethod: "token_auth"
}
})
.catch(() => {});