question

jcros004 avatar image
jcros004 asked

Google Play Authentication (Unity)

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?

unity3dAuthentication
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Xiao Zha avatar image
Xiao Zha answered

For Unity, if you are using Google Play Games Services, we recommend referring to GitHub - playgameservices/play-games-plugin-for-unity: Google Play Games plugin for Unity and then use LoginWithGooglePlayGamesServices API.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.