How do I getServerAuthCode (Google) / PlayFab ?

Not favoritedFavorited Favorited 0 favourites
  • 2 posts
From the Asset Store
Google Analytics 4 Plugin for Construct 3 enables metrics and analytics for your games easily.
  • Hi,

    I only purchased the PlayFab bundle. I realised that to sign in through Google (Authentication plugin) for PlayFab, it requires me to input user's serverAuthCode().

    I don't have Chadori's Mobile Bundle.. But I do have Sparsha's Firebase Plugins and I can Sign in through Google.. How can I link that Google's AuthCode to it? (or how can I call getServerAuthCode() in Construct?)

    I tried FirebaseAuthPro.CredentialOnSignIn, but that doesn't work.

    Please help..

    Thanks!

    Tagged:

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • The Firebase Sparsha plugin at least has the Web client ID option in Google Cloud Console (OAuth 2.0 → Credentials).

    usually forms com.googleusercontent.apps.XXXXXXXXXX....

    if there is no OAuth 2.0 option like the Firebase Sparsha plugin only returns the token ID (idToken) for Firebase authentication, not the serverAuthCode that PlayFab needs for Google OAuth validation on the PlayFab server.

Jump to:
Active Users
There are 0 visitors browsing this topic (0 users and 0 guests)