Questions tagged [google-authentication]

All authentication using google accounts that includes plugins, application, games etc. which are based on different APIs provided by google.

Various types of authentication using Google account.

For example:

2002 questions
15
votes
3 answers

Google Services Plugin cannot function without google-services.json

File google-services.json is missing. The Google Services Plugin cannot function I get this error code since I deleted my google-services.json file from my project. Now the obvious way to solve this issue would be to include it again, but I had a…
15
votes
2 answers

Firebase Web Auth Doesn't Work On Mobile Devices?

I was planning to use Firebase's provider authentication for my webapp, but it seems that it doesn't work on mobile devices. the site is live here: https://cypher.city Then when you click this button: a popup will appear. And when you click this…
15
votes
3 answers

com.google.android.gms.auth.GoogleAuthException: getToken(Unknown Source) exception

In my Android application, I am trying to get google token to verify at my google app engine backend server. But I always get this exception : com.google.android.gms.auth.GoogleAuthException: getToken(Unknown Source) exception My code : private…
Shikha Shah
  • 753
  • 3
  • 12
  • 34
14
votes
1 answer

TypeError: Credentials need to be from either oauth2client or from google-auth

I'm new to python and currently is working on a project that requires me to export pandas data frame from google collab to a google spreadsheet with multiple tabs. Previously when I run this specific code, there are no errors but then now it shows…
14
votes
1 answer

gcloud identity token vs access token

What is the difference between access-token and identity-token when we use gcloud auth print-access-token and gcloud auth print-identity-token? What are the cases where we can use one and not the other in Google Cloud context. Why we have…
14
votes
2 answers

R Googlsheets: Unable to use `gs_auth()` in googlesheets package - Sign In With Google Temporarily Disabled App Not Verified Issue

I am unable to authenticate my googlesheets package. Everytime I run the gs_auth() command I am taken to the chrome where I would usually login to enable the package to access my googlesheets: However, lately every time I do this I have the…
14
votes
3 answers

'com.google.android.gms.common.api.GoogleApiClient' is deprecated

I'm using in my app Google sign-in method and I have updated today my dependencies to: implementation "com.google.firebase:firebase-core:17.1.0" implementation "com.google.firebase:firebase-auth:19.0.0" And I stared to get warnings about deprecated…
14
votes
2 answers

Not getting the email using Google Authentication in Firebase

I am using the code provided by Firebase for Google Authentication and somehow, the authentication was successful but the email was not correctly imported to Firebase. https://firebase.google.com/docs/auth/ios/google-signin As you can see in the…
14
votes
2 answers

How is Google verifying SHA1 and package name in API calls?

When registering an Android app in the API console for Google API access you have to enter your apps SHA1 certificate fingerprint and the package name of the app. Now I was wondering how Google could verify this values are correct when the api calls…
lukstei
  • 844
  • 2
  • 8
  • 20
13
votes
3 answers

Firebase - Can't authenticate with Google sign in

I'm playing around with Firebase and I'm trying to get authenticated through Google sign in. I created a firebase project and in sign-in methods, I enabled the Google provider. Then in my index.html I have this which was mostly generated by…
Irelia
  • 3,407
  • 2
  • 10
  • 31
13
votes
1 answer

Vuejs global function with Google Auth Signin

I am using vuejs 2 and I am having issues with using the Google auth signin. I successfully setup and got the sign out and user profile functions working using vue: export default { data() { return { user: null }; }, methods:…
raffffffff
  • 3,447
  • 4
  • 16
  • 15
13
votes
4 answers

Firebase Android Authentication failed: expired_token (Auth token is expired)

I encounter an issue with Android Firebase Auth using com.google.gms:google-services:3.0.0 and com.google.firebase:firebase-auth:9.0.1. 1 hour after authentication with Firebase (Google or Facebook), I get the following error:…
13
votes
1 answer

Google Authenticator using PHP

I have used https://github.com/chregu/GoogleAuthenticator.php to built a 2 factor authentication for a web application i am working on. Everything works generating secret and even the code worked. Now i set up the same code in a different server and…
12
votes
5 answers

Authorizing client libraries without access to a web browser - gcloud auth application-default login

When I use to run either command: gcloud auth application-default login OR for a specific docker container docker exec -it 822c4c491383 /home/astro/google-cloud-sdk/bin/gcloud auth application-default login. My command line would give me a link to…
12
votes
1 answer

Google Cloud Run Authentication Service-to-Service

I have two services (APIs) deployed on GCP Cloud Run. Call them service-one.myDomain.com and service-two.myDomain.com. I would like service-one to be authenticated in calling service-two independently of what any user is doing. I've read and…