The following page https://developers.google.com/identity/toolkit/android/quickstart#step_3_set_up_the_quick-start_app tells me to
Uncomment the identitytoolkit.api_key meta data and replace the placeholder with your API key. You can find your API key in the Public API access section titled "Key for Android applications".
while the page https://developers.google.com/identity/toolkit/android/ tells me for the same step to
Uncomment the identitytoolkit.api_key meta data and replace the placeholder with your API key. You can find your API key in the Public API access section titled "Key for browser applications".
I tried both of them, the results didn't differ, I'm unable to sign in.
I also tried different combinations with
Uncomment the android:scheme line and replace the placeholder with your reversed server client ID. You can find this ID in the OAuth section titled "Client ID for web application". For example, if your server client ID is 123.apps.googleusercontent.com then put com.googleusercontent.apps.123 here.
but all of this is getting a bit wired.
I don't even know which questions to ask in order to get this issue solved, but it would be great if the documentation would indicate some sort of trustworthy "this is what you need to do".
Could somebody at Google double-check the "Modify AndroidManifest.xml" sections in both sites and explain which information would be correct? I'm a bit puzzled as to why I need to add so much web application stuff to the Android app.
Thanks in advance.
Update: Got it working, turned out I had the wrong app name registered in the console (it was an incomplete path). Also, it appears that it doesn't matter which Key you use (I'm using the "Key for Android applications".)