Skip to content

Commit

Permalink
fix oauth controller bug
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvanspauwen committed Jul 16, 2024
1 parent 790736f commit 160cda6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/ApiBundle/Controller/OAuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ public function shibbolethAction()
$this->getEntityManager()->persist($authorizationCode);
$this->getEntityManager()->flush();

$redirectUri = $this->getRequest()->getQuery('redirect_uri') . '?code=' . $authorizationCode->getCode();
$redirectUri = $code->getRedirect() . '?code=' . $authorizationCode->getCode();

$state = $this->getSessionContainer()->state;
if ($state) {
Expand Down

0 comments on commit 160cda6

Please sign in to comment.