Skip to content

The open alternative to Salesforce, designed for AI.

fix(oauth): raise authorizeApp state max length to 4096 (#29108)

nitinbfcd976980aa
diff --git a/packages/twenty-server/src/engine/core-modules/auth/dto/authorize-app.input.ts b/packages/twenty-server/src/engine/core-modules/auth/dto/authorize-app.input.ts
index bf57d6f4d19..6c92db278a3 100644
--- a/packages/twenty-server/src/engine/core-modules/auth/dto/authorize-app.input.ts
+++ b/packages/twenty-server/src/engine/core-modules/auth/dto/authorize-app.input.ts
@@ -22,7 +22,7 @@ export class AuthorizeAppInput {
@Field(() => String, { nullable: true })
@IsString()
- @MaxLength(1024)
+ @MaxLength(4096)
@IsOptional()
state?: string;