Link Google Account
Links the currently signed-in user account to their Google account, using their Google account credentials
Error codes
This operation may return the following PlayFab errors:
| Error | Code |
|---|---|
| AccountAlreadyLinked | 1011 |
| AccountLinkedToABannedPlayer | 1613 |
| GoogleOAuthError | 1271 |
| GoogleOAuthNoIdTokenIncludedInResponse | 1275 |
| GoogleOAuthNotConfiguredForTitle | 1270 |
| InvalidGoogleToken | 1026 |
| LinkedAccountAlreadyClaimed | 1012 |
Authorizations
This API requires a client session ticket, available from any Client Login function.
Body
Google sign-in is accomplished by obtaining a Google OAuth 2.0 credential using the Google sign-in for Android APIs on the device and passing it to this API.
Google sign-in is accomplished by obtaining a Google OAuth 2.0 credential using the Google sign-in for Android APIs on the device and passing it to this API.
The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).
If another user is already linked to the account, unlink the other user and re-link. If the current user is already linked, link both accounts
Server authentication code obtained on the client by calling getServerAuthCode() (https://developers.google.com/identity/sign-in/android/offline-access) from Google Play for the user.
