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
remove unused code
Thiago Araujo da Silva11af1bf3945d
diff --git a/backend/src/server/routes/v1/oauth-router.ts b/backend/src/server/routes/v1/oauth-router.tsindex fadfb7ac79..4e6bbcb935 100644--- a/backend/src/server/routes/v1/oauth-router.ts+++ b/backend/src/server/routes/v1/oauth-router.ts@@ -498,7 +498,6 @@ export const registerOAuthRouter = async (server: FastifyZodProvider) => {return server.services.oauthClient.exchangeToken({grantType: OauthGrantType.TokenExchange,subjectToken: req.body.subject_token,- subjectTokenType: req.body.subject_token_type,clientId,clientSecret,ip: req.realIp,diff --git a/backend/src/services/oauth-client/oauth-client-types.ts b/backend/src/services/oauth-client/oauth-client-types.tsindex 2232a0f165..36fc71ae34 100644--- a/backend/src/services/oauth-client/oauth-client-types.ts+++ b/backend/src/services/oauth-client/oauth-client-types.ts@@ -93,7 +93,6 @@ export type TOauthTokenExchangeDTO = {| {grantType: OauthGrantType.TokenExchange;subjectToken: string;- subjectTokenType: OauthTokenType;ip: string;userAgent?: string;}diff --git a/backend/src/services/oauth-client/oauth-token-exchange-fns.ts b/backend/src/services/oauth-client/oauth-token-exchange-fns.tsindex 6deaa97628..e223417055 100644--- a/backend/src/services/oauth-client/oauth-token-exchange-fns.ts+++ b/backend/src/services/oauth-client/oauth-token-exchange-fns.ts@@ -102,7 +102,7 @@ const getJwksClient = (jwksUri: string) =>});});-export type TOidcTrustAnchor = {+type TOidcTrustAnchor = {issuer: string;jwksUri: string;algorithm: string;diff --git a/docs/docs.json b/docs/docs.jsonindex 8d4f1a0d53..ebb00da7fe 100644--- a/docs/docs.json+++ b/docs/docs.json@@ -4550,10 +4550,6 @@"source": "/documentation/platform/oauth-applications","destination": "/documentation/platform/oauth-applications/overview"},- {- "source": "/documentation/platform/oauth-token-exchange",- "destination": "/documentation/platform/oauth-applications/token-exchange"- },{"source": "/integrations/platforms/docker-intro","destination": "/integrations/platforms/docker"