Skip to main content
Version: 5.9.6

Federation

In BACKND, users can sign up or log in using the authentication of Google and Facebook and by signing in with Apple.

  • To sign up, the user must perform a federation authentication using an account not signed up in the project.
  • To log in, the user must perform a federation authentication using an account signed up in the project.

Permission request

BACKND requests permission for Google and Facebook according to each of the following. If the user performed the federation authentication, you can obtain the email information of that user from the token of that federation.
Apple does not require additional permission settings from a coding aspect.

  • If permission related to email information was requested, the user's ID is displayed as an email address.
  • You can perform the federation authentication without requesting permission to look up email information.
    • In this case, the user ID is not displayed in the BACKND Console.

Google

PlayGamesClientConfiguration config = new PlayGamesClientConfiguration
.Builder()
.RequestServerAuthCode(false)
.RequestEmail() // Must be added to request email privilege.
.RequestIdToken()
.Build();

Facebook

var perms = new List<string>() { "public_profile", "email" }; // Value to request email information.