Sign-in  |  Play Games Services  |  Google for Developers (2024)

Play Games Services sign-in provides you with a player's gaming identity, whichis a platform-level, gaming-specific identity for Android players. This identityhelps build a relationship between your game and the player. Players are morewilling to use this identity to sign in than with alternate centralized systems.

In addition, sign-in gives you a strong, consistent identifier that you can use as a key to acloud save system. Cloud save is highly-valued; it enables players to do thefollowing:

  • Pick up where they left off if they change or reset their device
  • Play the game on multiple devices (for example, on another phone or aChromebook)
  • Uninstall and later re-install the game

You can use Play Games Services identity as a key for your own cloud savesolution, or you can use the freeSaved Games service.

Play Games Services (PGS) supports automatic sign-in, a zero-friction way tosign in players.

Recommended sign-in flow

In order to successfully sign players into your game, use the followingsign-in flow:

  1. During the startup sequence of your game, Automatic sign-inwill trigger, attempting to login the user or create a new account.
  2. If automatic sign-in does not work or the user declines, then show a manualsign-in button in case the user would like to login later on.

Automatic sign-in

Automatic sign-in allows users to sign into your game with zero friction - it'sautomatic! If your game requests that the user sign in and the automatic sign-insetting is enabled (in the Google Play Games app), then you will receive the user's PGSidentity credentials and the user will see the PGS sign-in experience.

Automatic sign-in is a setting users can control. Users can choose toautomatically sign into all games or be asked each time.

Sign-in | Play Games Services | Google for Developers (1)

OAuth Scopes and PGS

PGS relies on the OAuth system to allow users togive your game access to their account. PGS has a unique scope for games (games-lite) and relies on another scope(drive.app_data) if your game uses the saved games feature. The saved gamesfeature gives access to the user's Google Drive account, which is where the gamedata is stored.

Please note that with PGS v2, you can no longer request extra OAuth Scopes.If this is needed, we recommend using the Google Sign In SDKalongside PGS.

Support for multiple sign-in methods

PGS provides a gaming identity for Android players, but it doesn't need to bethe only identity connected to your users. You can sign in players using PGS, asocial network ID, and your own in-game ID system all at the same time. Eachsystem provides unique value for both you and your players, and all can worktogether to make a great experience for Android players.

Securely retrieve and verify the player identity for backend integration

You can request a Server Auth code to enable your serverto talk directly to the Play Games Services servers via the REST API with theauthority of the signed-in player. This enables direct access to the player'sID, profile, and other information (such as friends list, if authorized). If youstore any Player IDs, friend IDs, or other related data in your backend, thismethod must be used to remove the potential fordevice-side manipulation of these fields.

Additionally, for some older games and players, the player ID returned by theAndroid SDK for a player may not be the same ID that other players see whenviewing that player in the same game - this is particularly relevant when usingthe friends list. However, the player_id returned within the REST API isalways consistent and is always the ID that is seen by other players.

For more information, seeOffline access and theREST API documentation.

Client implementation

To learn how to implement sign-in support on Android, seeSign-in in Android Games.

Sign-in  |  Play Games Services  |  Google for Developers (2024)
Top Articles
Account and Website Security Features
How to disable hardware acceleration on Microsoft Edge - Pureinfotech
Katie Pavlich Bikini Photos
Gamevault Agent
Hocus Pocus Showtimes Near Harkins Theatres Yuma Palms 14
Free Atm For Emerald Card Near Me
Craigslist Mexico Cancun
Hendersonville (Tennessee) – Travel guide at Wikivoyage
Doby's Funeral Home Obituaries
Vardis Olive Garden (Georgioupolis, Kreta) ✈️ inkl. Flug buchen
Select Truck Greensboro
Things To Do In Atlanta Tomorrow Night
How To Cut Eelgrass Grounded
Pac Man Deviantart
Alexander Funeral Home Gallatin Obituaries
Craigslist In Flagstaff
Shasta County Most Wanted 2022
Energy Healing Conference Utah
Testberichte zu E-Bikes & Fahrrädern von PROPHETE.
Aaa Saugus Ma Appointment
Geometry Review Quiz 5 Answer Key
Walgreens Alma School And Dynamite
Bible Gateway passage: Revelation 3 - New Living Translation
Yisd Home Access Center
Home
Shadbase Get Out Of Jail
Gina Wilson Angle Addition Postulate
Celina Powell Lil Meech Video: A Controversial Encounter Shakes Social Media - Video Reddit Trend
Walmart Pharmacy Near Me Open
Dmv In Anoka
A Christmas Horse - Alison Senxation
Ou Football Brainiacs
Access a Shared Resource | Computing for Arts + Sciences
Pixel Combat Unblocked
Cvs Sport Physicals
Mercedes W204 Belt Diagram
Rogold Extension
'Conan Exiles' 3.0 Guide: How To Unlock Spells And Sorcery
Teenbeautyfitness
Weekly Math Review Q4 3
Facebook Marketplace Marrero La
Nobodyhome.tv Reddit
Topos De Bolos Engraçados
Gregory (Five Nights at Freddy's)
Grand Valley State University Library Hours
Holzer Athena Portal
Hampton In And Suites Near Me
Stoughton Commuter Rail Schedule
Bedbathandbeyond Flemington Nj
Free Carnival-themed Google Slides & PowerPoint templates
Otter Bustr
Selly Medaline
Latest Posts
Article information

Author: Aracelis Kilback

Last Updated:

Views: 6073

Rating: 4.3 / 5 (64 voted)

Reviews: 95% of readers found this page helpful

Author information

Name: Aracelis Kilback

Birthday: 1994-11-22

Address: Apt. 895 30151 Green Plain, Lake Mariela, RI 98141

Phone: +5992291857476

Job: Legal Officer

Hobby: LARPing, role-playing games, Slacklining, Reading, Inline skating, Brazilian jiu-jitsu, Dance

Introduction: My name is Aracelis Kilback, I am a nice, gentle, agreeable, joyous, attractive, combative, gifted person who loves writing and wants to share my knowledge and understanding with you.