Hi,
I’ve been trying to get Firebase to allow Google and Facebook logins, but I’m kinda stuck.
What I’ve done :
- Imported the Firebase SDK, Google Play Games SDK.
- Created Firebase project, added Google Play Games app.
- Coded and tested Firebase email/password account creation/authentication - its working.
- Followed step by step the Firebase Unity docs but got stuck at “Authenticate with Firebase” on Authenticate with Google on Android | Firebase Authentication
I’m not sure what to do with the sample code :
// Configure Google Sign In
GoogleSignInOptions gso = new GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
.requestIdToken(getString(R.string.default_web_client_id))
.requestEmail()
.build();
Any help, pointers, tutorials on how to proceed would be much appreciated.