For the old GPGS, I got the id_token value after the GPGS login, successfully authenticated to the Google server OAUTH2 and got the sub value.
However, with GPGS V2, when I tried the same, it was impossible to get sub due to lack of scope permission.
The documentation said that the gamePlayerId that exists in https://www.googleapis.com/games/v1/players/me is a unique value for the application, so I tried to use that instead of sub. However, when I created an access_token based on the code returned by GPGS V2 and called it, the gamePlayerId value was excluded, as shown below.
For the old GPGS, I got the id_token value after the GPGS login, successfully authenticated to the Google server OAUTH2 and got the sub value.
However, with GPGS V2, when I tried the same, it was impossible to get sub due to lack of scope permission.
The documentation said that the gamePlayerId that exists in https://www.googleapis.com/games/v1/players/me is a unique value for the application, so I tried to use that instead of sub. However, when I created an access_token based on the code returned by GPGS V2 and called it, the gamePlayerId value was excluded, as shown below.
What value should I use to create a unique user on my server?