Feel free to enlighten me, but using the client id uses a random number for the username, vs the actual user's username.
This also addresses the problem of if a custom ClientManager is used (ie. a static list/external service/etc), and the $accessToken->getClient() doesn't actually reference any client, then an error is thrown indicating the $client var within $accessToken needs to be set before it can be accessed (php8 error).
Thanks for reviewing my PR - nice job on getting the project working with Symfony6.
Feel free to enlighten me, but using the client id uses a random number for the username, vs the actual user's username.
This also addresses the problem of if a custom ClientManager is used (ie. a static list/external service/etc), and the $accessToken->getClient() doesn't actually reference any client, then an error is thrown indicating the $client var within $accessToken needs to be set before it can be accessed (php8 error).
Thanks for reviewing my PR - nice job on getting the project working with Symfony6.