제가 코드 통일성이 없었네요...
This commit is contained in:
parent
2e1eb7a3ab
commit
ba20dd9007
1 changed files with 2 additions and 2 deletions
|
|
@ -8,7 +8,7 @@ export type API = DefineAPI<{}>;
|
||||||
|
|
||||||
const implicitGrantController = new ImplicitGrantController();
|
const implicitGrantController = new ImplicitGrantController();
|
||||||
const authZCodeGrantController = new AuthZCodeGrantController();
|
const authZCodeGrantController = new AuthZCodeGrantController();
|
||||||
const pkceCheck = new PKCECheck();
|
const pkceCheckController = new PKCECheck();
|
||||||
|
|
||||||
// function matchSSORequest(req: Request): boolean {
|
// function matchSSORequest(req: Request): boolean {
|
||||||
// const raw = req.getRaw().toString();
|
// const raw = req.getRaw().toString();
|
||||||
|
|
@ -35,7 +35,7 @@ export function init(sdk: SDK<API>) {
|
||||||
implicitGrantController.testReq(req);
|
implicitGrantController.testReq(req);
|
||||||
|
|
||||||
if (result) {
|
if (result) {
|
||||||
await pkceCheck.test(sdk, req);
|
await pkceCheckController.test(sdk, req);
|
||||||
|
|
||||||
await sdk.findings.create({
|
await sdk.findings.create({
|
||||||
title: "Possible SSO Request Detected",
|
title: "Possible SSO Request Detected",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue