Skip to content

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

revert defaults to 30 days

Maidul Islamcf5a79995f93
diff --git a/frontend/src/views/Org/MembersPage/components/OrgIdentityTab/components/IdentitySection/IdentityUniversalAuthForm.tsx b/frontend/src/views/Org/MembersPage/components/OrgIdentityTab/components/IdentitySection/IdentityUniversalAuthForm.tsx
index bfc88bf7e0..ea6d4209ff 100644
--- a/frontend/src/views/Org/MembersPage/components/OrgIdentityTab/components/IdentitySection/IdentityUniversalAuthForm.tsx
+++ b/frontend/src/views/Org/MembersPage/components/OrgIdentityTab/components/IdentitySection/IdentityUniversalAuthForm.tsx
@@ -88,7 +88,7 @@ export const IdentityUniversalAuthForm = ({
} = useForm<FormData>({
resolver: yupResolver(schema),
defaultValues: {
- accessTokenTTL: "7200",
+ accessTokenTTL: "2592000",
accessTokenMaxTTL: "2592000",
accessTokenNumUsesLimit: "0",
clientSecretTrustedIps: [{
@@ -136,7 +136,7 @@ export const IdentityUniversalAuthForm = ({
});
} else {
reset({
- accessTokenTTL: "7200",
+ accessTokenTTL: "2592000",
accessTokenMaxTTL: "2592000",
accessTokenNumUsesLimit: "0",
clientSecretTrustedIps: [{
@@ -211,7 +211,7 @@ export const IdentityUniversalAuthForm = ({
<form onSubmit={handleSubmit(onFormSubmit)}>
<Controller
control={control}
- defaultValue="7200"
+ defaultValue="2592000"
name="accessTokenTTL"
render={({ field, fieldState: { error } }) => (
<FormControl
@@ -221,7 +221,7 @@ export const IdentityUniversalAuthForm = ({
>
<Input
{...field}
- placeholder="7200"
+ placeholder="2592000"
type="number"
min="0"
step="1"