For our cross-platform game, we use different authentication strategies, including Steam, Apple Game Center, Google Play Games Services, and OAuth 2.0.
Steam is initialized with the GodotSteam
extension by CoaguCo-Industries.
The service provides more than just authentication, and is managed by steam_service.gd
.
iOS users are authenticated with Apple Game Center by default.
apple_game_center_service.gd
provides typed Promise-based wrappers around the Game Center plugin.
In addition to setting up Game Center in Godot, Game Center has to be configured in App Store Connect. Refer to the Game Center plugin document for details about setting up Game Center.
Refer to the iOS build document.
Android users are authenticated with Google Play Games Services by default.
In addition to setting up Play Games Services in Godot, Play Games Services has to be configured on the Google Play Console.
Refer to the Android build document.
On the web, we use a OAuth 2.0 Web Client for user identity. Refer to the Web OAuth 2.0 document.