mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-26 23:10:17 +05:30
Merge pull request #498 from frederikbosch/client_user_id_replaced
Client identifier passed where user identifier is expected
This commit is contained in:
commit
6f0a0cca4e
@ -34,7 +34,7 @@ class ClientCredentialsGrant extends AbstractGrant
|
|||||||
$scopes = $this->scopeRepository->finalizeScopes($scopes, $this->getIdentifier(), $client);
|
$scopes = $this->scopeRepository->finalizeScopes($scopes, $this->getIdentifier(), $client);
|
||||||
|
|
||||||
// Issue and persist access token
|
// Issue and persist access token
|
||||||
$accessToken = $this->issueAccessToken($accessTokenTTL, $client, $client->getIdentifier(), $scopes);
|
$accessToken = $this->issueAccessToken($accessTokenTTL, $client, null, $scopes);
|
||||||
|
|
||||||
// Inject access token into response type
|
// Inject access token into response type
|
||||||
$responseType->setAccessToken($accessToken);
|
$responseType->setAccessToken($accessToken);
|
||||||
|
Loading…
Reference in New Issue
Block a user