Skip to content

Commit 27a67d1

Browse files
committed
Fixed a bug that was causing requests for an access token to fail when using oauth internally
1 parent bc128ee commit 27a67d1

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
{
@@ -70,8 +71,11 @@ public function performAccessTokenFlow()
7071
{
7172
try {
7273

74+
// Get user input
75+
$input = Input::all();
76+
7377
// Tell the auth server to issue an access token
74-
$response = $this->authServer->issueAccessToken();
78+
$response = $this->authServer->issueAccessToken($input);
7579

7680
} catch (ClientException $e) {
7781

0 commit comments

Comments
 (0)