As of 2021 Google Play Games Services for Unity no longer directly exposes the OAuth 2.0 server authentication code obtained on the client side.
How then are we supposed to use either LoginWithGoogleAccount or LoginWithGooglePlayGamesServices when their requests require the server authentication code that is no longer accessible? Is there some other way to access it or some new method?