From what I see in GrantType/ClientCredentials.php in method getUserId we request $this->clientData['user_id'].
Going to Storage/ClientCredentials.php it seems this storage do not return user_id. Also, in oauth_client table there is no column user_id.
Then, if we have ability to create custom UserProvider, it means that this provider should be used when retrieving user.
Question is - it is intentional, or it might be implemented or what is the appropriate solution in this case?
From what I see in
GrantType/ClientCredentials.phpin method getUserId we request$this->clientData['user_id'].Going to
Storage/ClientCredentials.phpit seems this storage do not return user_id. Also, inoauth_clienttable there is no columnuser_id.Then, if we have ability to create custom UserProvider, it means that this provider should be used when retrieving user.
Question is - it is intentional, or it might be implemented or what is the appropriate solution in this case?