mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-18 02:59:45 +05:30
Associate the $client with $session.
This commit is contained in:
parent
736a7b95eb
commit
b60693c5d6
@ -215,6 +215,8 @@ class AuthCodeGrant extends AbstractGrant
|
|||||||
}
|
}
|
||||||
|
|
||||||
$session = $code->getSession();
|
$session = $code->getSession();
|
||||||
|
$session->associateClient($client);
|
||||||
|
|
||||||
$authCodeScopes = $code->getScopes();
|
$authCodeScopes = $code->getScopes();
|
||||||
|
|
||||||
// Generate the access token
|
// Generate the access token
|
||||||
|
Loading…
Reference in New Issue
Block a user