mirror of
https://github.com/better-auth/better-auth.git
synced 2026-06-01 03:46:39 -05:00
fix(sso): fix typecheck error in saml test
This commit is contained in:
committed by
Gustavo Valverde
parent
5bdd6ecc7c
commit
b09762afeb
@@ -2250,7 +2250,7 @@ describe("SAML SSO", async () => {
|
||||
const deflatedBuffer = Buffer.from(samlRequestParam, "base64");
|
||||
const xml = inflateRawSync(deflatedBuffer).toString("utf-8");
|
||||
const idMatch = xml.match(/ID="([^"]+)"/);
|
||||
const authnRequestId = idMatch![1];
|
||||
const authnRequestId = idMatch![1] as string;
|
||||
|
||||
let samlResponse: any;
|
||||
await betterFetch(
|
||||
|
||||
Reference in New Issue
Block a user