0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-30 20:33:54 -05:00

fix(core): the koa response status guard missing 422 in sso integration API (#5506)

This commit is contained in:
Darcy Ye 2024-03-15 11:57:08 +08:00 committed by GitHub
parent e95a04619b
commit 58885b31cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -79,7 +79,7 @@ export default function singleSignOnRoutes<T extends IRouterParamContext>(
connectorId: z.string(),
}),
body: z.record(z.unknown()),
status: [200, 404],
status: [200, 404, 422],
response: z.object({
redirectTo: z.string(),
}),