diff --git a/packages/backend/src/index.ts b/packages/backend/src/index.ts index 7633932..2eccd6d 100644 --- a/packages/backend/src/index.ts +++ b/packages/backend/src/index.ts @@ -8,7 +8,7 @@ export type API = DefineAPI<{}>; const implicitGrantController = new ImplicitGrantController(); const authZCodeGrantController = new AuthZCodeGrantController(); -const pkceCheck = new PKCECheck(); +const pkceCheckController = new PKCECheck(); // function matchSSORequest(req: Request): boolean { // const raw = req.getRaw().toString(); @@ -35,7 +35,7 @@ export function init(sdk: SDK) { implicitGrantController.testReq(req); if (result) { - await pkceCheck.test(sdk, req); + await pkceCheckController.test(sdk, req); await sdk.findings.create({ title: "Possible SSO Request Detected",