Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

fix

Marc Seitz67a9999b2ef5
diff --git a/app/(ee)/api/auth/saml/authorize/route.ts b/app/(ee)/api/auth/saml/authorize/route.ts
index 3676885b..dfead92f 100644
--- a/app/(ee)/api/auth/saml/authorize/route.ts
+++ b/app/(ee)/api/auth/saml/authorize/route.ts
@@ -51,7 +51,7 @@ export async function POST(req: Request) {
}
const { redirect_url, authorize_form } =
- await oauthController.authorize(body);
+ await oauthController.authorize(body as unknown as OAuthReq);
if (redirect_url) {
return NextResponse.redirect(redirect_url, { status: 302 });