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

**URL:** https://forum.heroiclabs.com/t/getting-error-could-not-authenticate-google-profile-while-using-android-godot-4-3/6173
**Category:** Client Libraries
**Created:** [April 25, 2025, 8:52am UTC](https://forum.heroiclabs.com/t/getting-error-could-not-authenticate-google-profile-while-using-android-godot-4-3/6173 "2025-04-25T08:52:10Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![utkarshtrivedimdz](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/utkarshtrivedimdz/32/2528_2.png) [@utkarshtrivedimdz](https://forum.heroiclabs.com/u/utkarshtrivedimdz)
#### Post date: [April 25, 2025, 8:52am UTC](https://forum.heroiclabs.com/t/getting-error-could-not-authenticate-google-profile-while-using-android-godot-4-3/6173/1 "2025-04-25T08:52:10Z")

</div>

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:

- [https://developer.android.com/identity/sign-in/credential-manager-siwg](https://developer.android.com/identity/sign-in/credential-manager-siwg)
- [https://www.youtube.com/watch?v=P\_jZMDmodG4](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.

```auto
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?

---

<div class="post-metadata">

### Author: ![sesposito](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/sesposito/32/2594_2.png) [@sesposito](https://forum.heroiclabs.com/u/sesposito)
#### Post date: [April 28, 2025, 9:48am UTC](https://forum.heroiclabs.com/t/getting-error-could-not-authenticate-google-profile-while-using-android-godot-4-3/6173/2 "2025-04-28T09:48:29Z")

</div>

@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.
