Getting error "Could not authenticate Google Profile" while using Android + Godot 4.3

I’m trying to implement Google Sign-in with Nakama on Android using Godot 4.3, but I keep getting the error “Could not authenticate Google Profile”. The server logs show an issue with missing redirect URL in the Google credentials configuration, despite following the recommended documentation.

Versions:

  1. Nakama 3.5
  2. Android (client)
  3. Godot 4.3 client library

Additional Information:

I followed these Google token generation docs:

The issue I’m facing is that Nakama is asking for a redirect URI, but according to the Google documentation I followed, this shouldn’t be necessary for Android integration.

template_nk_backend | {"level":"fatal","ts":"2025-04-23T06:43:34.702Z","caller":"server/config.go:121","msg":"Failed to parse Google's credentials JSON","error":"oauth2/google: missing redirect URL in the client_credentials.json"}

The server log clearly shows that Nakama is expecting a redirect URL in the Google client credentials JSON file, but this doesn’t align with the Android implementation approach I’m using. How should the redirect URL be configured when using Google authentication for an Android client with Nakama?

@utkarshtrivedimdz I believe this is an issue with the Google SDK that expects the URL to be set, you’ll need to provide one even if it won’t actually be used in your use-case.

Best.