Skip to content

Commit

Permalink
Fix #15
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Nov 26, 2023
1 parent 29bc027 commit 59368e5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/IdP/ADFS.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ public static function receiveAuthnRequest(Request $request, IdP $idp): Streamed
$state['adfs:wreply'] = $httpUtils->checkURLAllowed($query['wreply']);
}

return new StreamedResponse([$idp, 'handleAuthenticationRequest'], [&$state]);
return new StreamedResponse(
function () use ($idp, $state) {
$idp->handleAuthenticationRequest($state);
}
);
}


Expand Down

0 comments on commit 59368e5

Please sign in to comment.