From 0d6c4f65b93f9b5b2b4427bd33d3ec378e084146 Mon Sep 17 00:00:00 2001 From: Alex Bilbie Date: Sun, 27 Jul 2014 17:14:50 +0100 Subject: [PATCH] Store the redirect URI too --- src/Entity/AuthCodeEntity.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Entity/AuthCodeEntity.php b/src/Entity/AuthCodeEntity.php index 0a5809d3..a116af75 100644 --- a/src/Entity/AuthCodeEntity.php +++ b/src/Entity/AuthCodeEntity.php @@ -96,7 +96,8 @@ class AuthCodeEntity extends AbstractTokenEntity $this->server->getStorage('auth_code')->create( $this->getId(), $this->getExpireTime(), - $this->getSession()->getId() + $this->getSession()->getId(), + $this->getRedirectUri() ); // Associate the scope with the token