mirror of
				https://github.com/elyby/oauth2-server.git
				synced 2025-05-31 14:12:07 +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:
		@@ -34,7 +34,7 @@ class ClientCredentialsGrant extends AbstractGrant
 | 
			
		||||
        $scopes = $this->scopeRepository->finalizeScopes($scopes, $this->getIdentifier(), $client);
 | 
			
		||||
 | 
			
		||||
        // 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
 | 
			
		||||
        $responseType->setAccessToken($accessToken);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user