Skip to content

Commit 1ef0e74

Browse files
committed
Merge branch 'master' of github.com:lucadegasperi/oauth2-server-laravel
2 parents 8846396 + f69f818 commit 1ef0e74

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/LucaDegasperi/OAuth2Server/Proxies/AuthorizationServerProxy.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
use League\OAuth2\Server\Exception\ClientException;
66
use Exception;
77
use Response;
8+
use Input;
89

910
class AuthorizationServerProxy
1011
{
@@ -123,8 +124,11 @@ public function performAccessTokenFlow()
123124
{
124125
try {
125126

127+
// Get user input
128+
$input = Input::all();
129+
126130
// Tell the auth server to issue an access token
127-
$response = $this->authServer->issueAccessToken();
131+
$response = $this->authServer->issueAccessToken($input);
128132

129133
} catch (ClientException $e) {
130134

0 commit comments

Comments
 (0)