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

How can I verify a Google authentication API access token?

How can I verify a Google authentication access token? I need to somehow query Google and ask: Is [given access token] valid for the [example@example.com] Google account? Short version It's clear how an access token supplied through the Google…
Jon Cram
  • 16,609
  • 24
  • 76
  • 107
128
votes
8 answers

Where can I find a list of scopes for Google's OAuth 2.0 API?

The example I'm working with specifies the scope in the OAuth request as: scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile which decodes into two…
Dylan Beattie
  • 53,688
  • 35
  • 128
  • 197
94
votes
28 answers

Google sign in failed com.google.android.gms.common.api.ApiException: 10:

So I'm Stuck on this frustrating issue. I am quite new to Google Auth on Firebase but I done everything the firebase docs instructed in how to integrate the Google SignIn Auth, yet I'm still receiving this weird Error in the console consisted of two…
Hudi Ilfeld
  • 1,905
  • 2
  • 16
  • 25
68
votes
6 answers

Authenticating with OAuth2 for an app *and* a website

I'm developing a website that is primarily accessed via an app, and I want to use OAuth2 for user registration and authentication. Since it is an Android app I will start using Google's OAuth2 stuff, since it provides a decent UI on Android. Google…
Timmmm
  • 88,195
  • 71
  • 364
  • 509
61
votes
9 answers

Authentication using Facebook at first and then Google causes an error in Firebase for Android

As I understand from the Firebase Docs, if a user authenticates his account with a credential, he should strictly login by using the same credential if the credential is not linked with another one yet. In other words, if I create an account by…
53
votes
5 answers

gapi.auth2.ExternallyVisibleError: Invalid cookiePolicy

I'm trying to add a Google Sign In Authentication system to my app, but I keep getting a strange error that I haven't seen anyone get. I'm using EXACTLY the google example code. I thought it could be some mistake when loading the api, so I checked…
KoJoVe
  • 1,553
  • 2
  • 10
  • 9
50
votes
11 answers

com.google.firebase.FirebaseException: An internal error has occurred. [ CONFIGURATION_NOT_FOUND ]

Ok so I get the following exception. No idea why it is happening. I have followed the guides how to set up auth for google account. I tried to search the google but no success of any solution for this. I haved tried to search for the…
parohy
  • 2,070
  • 2
  • 22
  • 38
48
votes
10 answers

Error: req#logout requires a callback function

can't able to find solution of this tried everything, i am just new in using passport. Error: req#logout requires a callback function i have coded this before but that time i have not received any error, but this time dont know why i am getting…
Harsh Gupta
  • 548
  • 1
  • 4
  • 10
46
votes
1 answer

How to add Google Authenticator to my website?

I have a web app that is Angular2 on the front-end and NodeJS on the back-end. I want to allow clients to use Google Authenticator to make their accounts more secure. How can I implement/use Google Authenticator in my website? I cannot find an API…
42
votes
6 answers

Undefined class 'FirebaseUser'

I'm new to Flutter. I have an Issue with Firebase Auth/ Google Auth The FirebaseUser is not defined Code: FirebaseAuth _auth = FirebaseAuth.instance; GoogleSignIn googleSignIn = GoogleSignIn(); Future currentUser() async { // The…
35
votes
7 answers

Undefined class 'AuthResult' in Flutter

I have been trying to implement Google login screen using Flutter. final AuthResult authResult = await _auth.signInWithCredential(credential); The editor, for the line above, says: Undefined class 'AuthResult' How can I fix it? Any help would be…
30
votes
1 answer

Pass google default application credentials in local docker run

Is there a way of passing my local google default application credentials (https://developers.google.com/identity/protocols/application-default-credentials) via docker run? My usecase: Code running locally on my machine correctly handles default…
28
votes
5 answers

Access Google spreadsheet API without auth token

I have created Google Spreadsheet, and given edit access to all (can edit even without login). Here is the link. I would like to update this sheet with Google Spreadsheet API. But I am getting error. My requirement is update the sheet thru API even…
27
votes
2 answers

What is production keystore in android and how can I get the path-to-production-keystore?

I am trying to add google authentication feature in my android app and for that I need to get the Android Signing certificate SHA-1. The official tutorial says to use the below command to get the SHA-1 hash value . In release mode keytool…
Hari Krishnan
  • 5,992
  • 9
  • 37
  • 55
25
votes
4 answers

Google Authentication using OWIN Oauth in MVC5 not hitting ExternalLoginCallback function

I am currently upgrading my login process for Google to use OAuth before they depricate their OpenID login method. The steps I have Identified so far is that I have upgraded the package Microsoft.Owin.Security.Google to version 2.1.0 as this…
Brad Baskin
  • 1,265
  • 2
  • 14
  • 20
1
2 3
99 100