File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -762,8 +762,6 @@ public function validateAuthorizationRequestWithRequestRules(
762762 $ redirectUri = $ resultBag ->getOrFail (ClientRedirectUriRule::class)->getValue ();
763763 /** @var string|null $state */
764764 $ state = $ resultBag ->getOrFail (StateRule::class)->getValue ();
765- /** @var string|null $issuer_state */
766- $ issuer_state = $ resultBag ->getOrFail (IssuerStateRule::class)->getValue ();
767765 /** @var \SimpleSAML\Module\oidc\Entities\Interfaces\ClientEntityInterface $client */
768766 $ client = $ resultBag ->getOrFail (ClientRule::class)->getValue ();
769767
@@ -886,9 +884,9 @@ public function validateAuthorizationRequestWithRequestRules(
886884 $ authorizationRequest ->setFlowType ($ flowType );
887885
888886 /** @var ?string $issuerState */
889- if ( $ issuer_state !== null ) {
890- $ authorizationRequest -> setIssuerState ( $ issuer_state );
891- }
887+ $ issuerState = $ resultBag -> get (IssuerStateRule::class)?->getValue();
888+ $ this -> loggerService -> debug ( ' AuthCodeGrant: Issuer state: ' , [ ' issuerState ' => $ issuerState ] );
889+ $ authorizationRequest -> setIssuerState ( $ issuerState );
892890
893891 /** @var ?array $authorizationDetails */
894892 $ authorizationDetails = $ resultBag ->get (AuthorizationDetailsRule::class)?->getValue();
You can’t perform that action at this time.
0 commit comments