Merge pull request #777 from hhamon/hhamon-patch-1

[BC Break] Fixes invalid code challenge method payload key name
This commit is contained in:
Alex Bilbie 2017-08-03 16:03:48 +01:00 committed by GitHub
commit b2648218f1

View File

@ -319,7 +319,7 @@ class AuthCodeGrant extends AbstractAuthorizeGrant
'user_id' => $authCode->getUserIdentifier(), 'user_id' => $authCode->getUserIdentifier(),
'expire_time' => (new \DateTime())->add($this->authCodeTTL)->format('U'), 'expire_time' => (new \DateTime())->add($this->authCodeTTL)->format('U'),
'code_challenge' => $authorizationRequest->getCodeChallenge(), 'code_challenge' => $authorizationRequest->getCodeChallenge(),
'code_challenge_method ' => $authorizationRequest->getCodeChallengeMethod(), 'code_challenge_method' => $authorizationRequest->getCodeChallengeMethod(),
]; ];
$response = new RedirectResponse(); $response = new RedirectResponse();