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:
- Nakama 3.5
- Android (client)
- Godot 4.3 client library
Additional Information:
I followed these Google token generation docs:
- https://developer.android.com/identity/sign-in/credential-manager-siwg
- https://www.youtube.com/watch?v=P_jZMDmodG4
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?