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
12
votes
3 answers

How do I create an Access Token from Service Account Credentials using REST API?

I have created a Service Account in Google Cloud Platform and downloaded the Private Key in JSON format. I am trying to create a Compute resource via REST API. For authentication purpose, I need an AccessToken which needs to be set as a Header of…
12
votes
2 answers

Enabling Social logins with ASP.NET Web API 2.0 and Ionic Cordova app

I have an ASP.NET Web API 2.0 application which I have connected up to an Ionic app which uses my API for logon, registration and so on. I am using token-based authentication so that when a user registers an account and logs in they will be granted…
12
votes
1 answer

Authorize user on Google website in WebView via dialog

For example, user is navigating to google.com in WebView. Is it possible to authorize him there via Google Account Picker (something like described here https://developers.google.com/android/guides/http-auth) to simplify authorization instead of…
artem
  • 16,382
  • 34
  • 113
  • 189
12
votes
1 answer

Verify the integrity of Google ID token in Ruby

I am integrating Google Sign-in capability to a Rails driven site. I am following the guide at https://developers.google.com/identity/sign-in/web/backend-auth, but I have run into a few problems. The main hangup is the Verify the integrity of the…
therealrootuser
  • 10,215
  • 7
  • 31
  • 46
12
votes
5 answers

What is the proper way to validate google granted OAuth tokens in a node.js server?

I'm trying to authenticate a mobile application for the Android platform to a custom node.js server api. I would like to use Google OAuth2 tokens for this rather than roll my own authentication, since Android devices with Google Play installed make…
Anton I. Sipos
  • 3,493
  • 3
  • 27
  • 26
11
votes
1 answer

Google Identity Services: How to preserve session

I'm migrating a web app that interacts with the google drive js api to the new Google Identity Services API and following this quickstart guide. GIS is mandatory, since the old one will no longer be in use from March 2023. In this guide, there is…
11
votes
5 answers

I got this issue when, I am trying to run this code (gapi.auth2.getAuthInstance().signIn();) "idpiframe_initialization_failed"

error: 'idpiframe_initialization_failed', details: 'You have created a new client application that use…i/web/guides/gis-migration) for more information.'} details: "You have created a new client application that uses libraries for user…
11
votes
4 answers

Google One tap sign-in UI not displayed after clicking the close button

I am trying to make the new google one tap sign in work following this guide: https://developers.google.com/identity/one-tap/web google.accounts.id.initialize({ client_id: '123123123123123123.apps.googleusercontent.com', …
11
votes
2 answers

Flutter Web Google Sign In

I try to implement a signIn with Google in Flutter Web. I use GoogleSignn 4.1.1 and Firebase Auth 0.15.4. I do not get any error message. It just does not pop up. I registered the web app in Firebase (Added Dependencies) and even added the
11
votes
2 answers

How to solve "ImportError: No module named google.auth"?

I'm locally running a standard app engine environment through dev_appserver and cannot get rid of the following error: ImportError: No module named google.auth Full traceback (replaced personal details with ...): Traceback (most recent call…
Stiño
  • 2,663
  • 7
  • 25
  • 47
11
votes
7 answers

E/TokenRequestor: You have wrong OAuth2 related configurations, please check. Detailed error: UNREGISTERED_ON_API_CONSOLE

I am using Google Sign In via Firebase in my app. But while running the published app from Play Store, it shows following error. E/TokenRequestor: You have wrong OAuth2 related configurations, please check. Detailed error:…
11
votes
1 answer

Download files from Google Storage using Java

I have successfully automated the process to move data from Google Big Query, to Google Storage. Now I need to download the data from Google Storage to my environment in an automated way as well. I am trying to do a normal HTTP request, but…
11
votes
1 answer

GoogleAuthUtil like device authentication for iOS to verify that requests originate from an Apple device

Google Auth Util lets Android developers verify that the requests their servers receive come from an Android device. The device gets a token from Google based on the Google account associated with the device, then the requests from the device are…
Yerk
  • 988
  • 7
  • 20
11
votes
2 answers

com.google.android.gms.auth.GoogleAuthException: Unknown

I am trying to use Oauth2 to authenticate the google user logged in my device. I have created the client ID but I am not able to get the expected result. Code is: String…
PramodK
  • 171
  • 1
  • 13
11
votes
4 answers

How to use Google application-specific password in script?

Since enabling 2-factor authentication (aka. 2-step verification) on Google, my Google export scripts no longer work. The computer is verified and trusted, but somehow the scripts are not. In effect, every time the cron job is run I receive a new…
l0b0
  • 55,365
  • 30
  • 138
  • 223