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
Improvements
x03220566df285245bc
diff --git a/cli/packages/models/cli.go b/cli/packages/models/cli.goindex 4785d81f1a..9a3ff85b23 100644--- a/cli/packages/models/cli.go+++ b/cli/packages/models/cli.go@@ -5,7 +5,7 @@ import "time"type UserCredentials struct {Email string `json:"email"`PrivateKey string `json:"privateKey"`- JWTToken string `json:"JTWToken"`+ JWTToken string `json:"JWTToken"`RefreshToken string `json:"refreshToken"`}diff --git a/frontend/src/components/utilities/attemptCliLogin.ts b/frontend/src/components/utilities/attemptCliLogin.tsindex d897ebeaae..f677bc5ed6 100644--- a/frontend/src/components/utilities/attemptCliLogin.ts+++ b/frontend/src/components/utilities/attemptCliLogin.ts@@ -16,7 +16,8 @@ export interface IsCliLoginSuccessful {loginResponse?: {email: string;privateKey: string;- JTWToken: string;+ JWTToken: string;+ JTWToken: string; // CLI Versions 0.41.85 and below expect "JTWToken"};success: boolean;}@@ -131,7 +132,8 @@ const attemptLogin = async ({loginResponse: {email,privateKey,- JTWToken: token+ JWTToken: token,+ JTWToken: token // CLI Versions 0.41.85 and below expect "JTWToken"},success: true});diff --git a/frontend/src/components/utilities/attemptCliLoginMfa.ts b/frontend/src/components/utilities/attemptCliLoginMfa.tsindex 14a61d817e..348c5f9424 100644--- a/frontend/src/components/utilities/attemptCliLoginMfa.ts+++ b/frontend/src/components/utilities/attemptCliLoginMfa.ts@@ -14,7 +14,8 @@ interface IsMfaLoginSuccessful {success: boolean;loginResponse: {privateKey: string;- JTWToken: string;+ JWTToken: string;+ JTWToken: string; // CLI Versions 0.41.85 and below expect "JTWToken"};}@@ -95,7 +96,8 @@ const attemptLoginMfa = async ({success: true,loginResponse: {privateKey,- JTWToken: token+ JWTToken: token,+ JTWToken: token // CLI Versions 0.41.85 and below expect "JTWToken"}});} catch (err) {diff --git a/frontend/src/pages/auth/LoginPage/components/PasswordStep/PasswordStep.tsx b/frontend/src/pages/auth/LoginPage/components/PasswordStep/PasswordStep.tsxindex ee8e334bf6..74d4e65094 100644--- a/frontend/src/pages/auth/LoginPage/components/PasswordStep/PasswordStep.tsx+++ b/frontend/src/pages/auth/LoginPage/components/PasswordStep/PasswordStep.tsx@@ -96,7 +96,8 @@ export const PasswordStep = ({const payload = {privateKey,email,- JTWToken: token,+ JWTToken: token,+ JTWToken: token, // CLI Versions 0.41.85 and below expect "JTWToken"refreshToken};await instance.post(cliUrl, payload).catch(() => {@@ -209,7 +210,8 @@ export const PasswordStep = ({const instance = axios.create();const payload = {...isCliLoginSuccessful.loginResponse,- JTWToken: token,+ JWTToken: token,+ JTWToken: token, // CLI Versions 0.41.85 and below expect "JTWToken"refreshToken};await instance.post(cliUrl, payload).catch(() => {diff --git a/frontend/src/pages/auth/SelectOrgPage/SelectOrgSection.tsx b/frontend/src/pages/auth/SelectOrgPage/SelectOrgSection.tsxindex 014b4b1dd6..9cd13a6cca 100644--- a/frontend/src/pages/auth/SelectOrgPage/SelectOrgSection.tsx+++ b/frontend/src/pages/auth/SelectOrgPage/SelectOrgSection.tsx@@ -149,7 +149,8 @@ export const SelectOrganizationSection = () => {}const payload = {- JTWToken: token,+ JWTToken: token,+ JTWToken: token, // CLI Versions 0.41.85 and below expect "JTWToken"email: user?.email,privateKey,refreshToken