fix(sso): trust absent email_verified claim and relax auth code length limit (#1493)

This commit is contained in:
Mocha authored and GitHub committed 2026-07-27 01:51:42 +02:00
1 parent 09a825ce5b
commit b323701774
2 files changed
+3 -3

No files matched your search

@@ -260,8 +260,8 @@ export const SsoStartRequest = z.object({
export type SsoStartRequest = z.infer<typeof SsoStartRequest>;
export const SsoCompleteRequest = z.object({
code: createStringType().describe('Authorization code from the SSO provider'),
state: createStringType().describe('State parameter for CSRF protection'),
code: createStringType(1, 4096).describe('Authorization code from the SSO provider'),
state: createStringType(1, 4096).describe('State parameter for CSRF protection'),
});
export type SsoCompleteRequest = z.infer<typeof SsoCompleteRequest>;