chore(sso): remove unused ascEndpoint params schema (#7488)

This commit is contained in:
Taesu
2026-01-21 07:42:14 +09:00
committed by Alex Yang
parent 6ef600deae
commit da2fd6cd46

View File

@@ -2127,10 +2127,6 @@ export const callbackSSOSAML = (options?: SSOOptions) => {
);
};
const acsEndpointParamsSchema = z.object({
providerId: z.string().optional(),
});
const acsEndpointBodySchema = z.object({
SAMLResponse: z.string(),
RelayState: z.string().optional(),
@@ -2141,7 +2137,6 @@ export const acsEndpoint = (options?: SSOOptions) => {
"/sso/saml2/sp/acs/:providerId",
{
method: "POST",
params: acsEndpointParamsSchema,
body: acsEndpointBodySchema,
metadata: {
...HIDE_METADATA,
@@ -2205,7 +2200,7 @@ export const acsEndpoint = (options?: SSOOptions) => {
where: [
{
field: "providerId",
value: providerId ?? "sso",
value: providerId,
},
],
})