Google APIs use the OAuth 2.0 protocol for authentication and authorization. Google supports common OAuth 2.0 scenarios such as those for web server, installed, and client-side applications.
0
votes
0answers
4 views
Anyway to retrieve Google Groups of user when they sign in with Google Signin in MVC?
So basically our company would like to use Google Groups as a means of authorization instead of our current Forms Auth. The OAuth works in that when the user signs in, we can get basic profile ...
0
votes
0answers
6 views
Can end users (easily) discover their subject unique identifier?
My application has an internal login system, and I am adding OIDC authn as well.
Is it possible for a Google user to discover his/her OIDC subject unique identifier? That would simplify the workflow ...
0
votes
1answer
12 views
How do I use a refresh token to get a new access token for Google SpreadsheetsService
I'm trying to build an application which reads and writes to a private Google Spreadsheet. For this I need to use Google OAuth2.0 .
My problem is that I lose access after 1 hour. I assume this means ...
0
votes
0answers
14 views
OAuth 2 parameters can only have a single value: code
As part of the OpenID Connect (OAuth2 for Login), my application is supposed to request an access token, given a one-time authorization code, via the endpoint ...
1
vote
1answer
52 views
Google oAuth2 flow - what am I doing wrong?
I have an SPA hosted at http://localhost:4200
I also have an API hosted at http://localhost:1337
My SPA is using Torii to handle the flow and I get back the authorizationCode which I then try to send ...
1
vote
1answer
18 views
Configure multiple login sessions using google oauth
I am using Google OAuth for Google signin with Odoo.
Everything works fine and I can sign in using google with no problem. However, I cannot open multiple sessions using my same google credentials.
...
1
vote
1answer
27 views
Google API PHP offline access, “invalid_grant: Code was already redeemed”
How to authorize a Google Client permanently until the user revokes authorization?
I am trying to make an app that connects to Google Calendar. It has to run in PHP and therefore I am using the ...
1
vote
1answer
17 views
When Service Account should be used to access google api?
I am trying to use google api for getting new emails from gmail account. However reading the docs I found that there are two types to access api the first one without authorization (with json ...
0
votes
0answers
62 views
Oauth2.0 flow for Google App Engine and Android App
I see some similar questions related to this question but those ones are too old to be considered, so I will ask again here.
I have an Android App that needs to authenticate to a web service to ...
-1
votes
1answer
14 views
external login google auth
I tried using both default templates - single page app and web api to get my access token from google. Both apps throw an error has occured.
single page app -
I sign in with google
it calls ...
0
votes
0answers
56 views
Cannot get oauth token from Google api
I've gone through each step of this in minute detail, totally baffled as to where the problem is. Following the instructions at https://developers.google.com/identity/protocols/OAuth2ServiceAccount ...
2
votes
1answer
72 views
OpenId Connect Questions -Authorization Code Flow (OAuth 2.0)
I am facing a custom implementation of OpenId Connect. But (there is always a but) i have some doubts:
I understand the process of obtainning an acces_token an a id_token, except the step when the OP ...
1
vote
1answer
41 views
How to delete a video from youtube using youtube v3 api and C#
Well I am able to upload video on Youtube but i didn't find a way or relevant code to delete video/videos from Youtube.
Here is my code which i tried to delete the youtube video.
private async Task ...
0
votes
1answer
21 views
Android Pay QuickStart App - Error occurring while contacting Google
I am attempting to run some sample Android Pay API code following the guide here:
https://developers.google.com/android-pay/android/tutorial#setup
I'm using the sample Bikestore project provided in ...
3
votes
0answers
63 views
How to restore a deleted google console project [closed]
Twenty days ago I deleted a Google Developer Console project. However I forgot that it's was / linked to an android application for GCM notification. I can't even see the deleted projects from my ...
0
votes
0answers
23 views
Hangouts api Public App
I've made a small Hangout App and linked that to my application and it's working fine with my Gmail(app created here) account and I'm able to see my app in the right panel of the Hangouts.
But ...
0
votes
0answers
17 views
rails oAuth failing, session invalid
Rails application - I am trying to authenticate with google using oAuth using the gem omniauth. I have tried to follow the steps in the link sitepoint but after signing in successfully with Google in ...
0
votes
0answers
11 views
How to deal with expired Google oauth tokes in flask-oauthlib?
I'm using this example to implement oauth in my site.
https://github.com/lepture/flask-oauthlib/blob/master/example/google.py
I just made this simple condition to check wether the token has expired:
...
0
votes
1answer
33 views
Youtube Data API v3 oAuth2 failing to change permissions
I am using google's apis to create a small desktop application to make uploading videos easier to manage (I manage a network hub channel, long story as to why I need this). I've followed google's ...
0
votes
1answer
14 views
Java Google Sheets API OAuth 2.0
I'm having problems setting up my program to make calls to the Google Sheets API. Currently, I'm authorizing my credential this way:
public static Credential authorize() throws IOException, ...
1
vote
0answers
26 views
Use offline authorization in google api upload video to youtube call
I am looking at the .net sample code here : (Upload a video) to upload a video to YouTube using C# using the Google Apis .NET library.
The code though redirects you to the google page to get ...
0
votes
0answers
8 views
Custom credential e-mail for Google OAuth2 API
I was wondering if it is possible to generate a OAuth2 credential for the Google API with a custom e-mail address? At the moment, it generates an address that looks like ...
0
votes
2answers
22 views
Google App Engine Server to Server OAuth Python
I can't find a solution to authorize server-to-server authentication using Google SDK + Python + MAC OSx + GMAIL API.
I would like testing GMail API integration in my local environment, before ...
0
votes
0answers
21 views
Google oauth Google_ServiceResource class
Using the google-api-php-client, when I use /google-api-php-client/src/contrib/Google_Oauth2Service.php.
I get the following error:
PHP Fatal error: Class 'Google_ServiceResource' not found in
...
0
votes
1answer
25 views
Error:”invalid_grant”, Description:””, Uri:”” while using service account from my local machine
I got below error while using service account from my local machine
Error:
invalid_grant”, Description:””, Uri:””.
see code below -
string[] scopes = new string[] {
...
5
votes
0answers
54 views
Saving the current GIDGoogleUser instead of signing in on every launch
I'm using the GIDSignInButton to sign my users into Google. Problem is, I'm not sure how to save the current user so that each user doesn't have to sign in every time they open the app. I've tried ...
0
votes
1answer
14 views
Hiding/Changing GIDSignInButton after signing in
So I'm pressing the GIDSignInButton, being taken through the sign in flow, but after the view controller is dismissed the button is still there with the same prompt: "Sign in". Well, I'm already ...
1
vote
0answers
28 views
Using Silex with Google Authentication?
I am tasked with using Silex for a basic web project. I want the user to login to this project.com using Google (and no other method). I have a list of approved gmail accounts in a MySQL database that ...
6
votes
5answers
97 views
Google+ API doesnt return access_token Javascript
We have an application that relies upon Google to authenticate its users against our google apps account and then do some serverside verification and group lookups.
Recently google changed the name ...
0
votes
1answer
18 views
Google OAuth - Authenticate using Javascript Frontend and Server Backend (Authorization Code Flow)
I am implementing Google authentication into my JavaScript web application. I would like to use the authentication code flow as described here.
What I want to do is...
User clicks a button and gets ...
0
votes
0answers
17 views
Omniauth - User identification when user has already logged in
The application I write is using Omniauth - google_oauth2.
My website has already set up omniauth nicely.
The next feature i need to add is Account Deletion, which needs to confirm the user's ...
0
votes
0answers
6 views
gspread OAuth 2 json file does not contain client_email or private_key
I am trying to us gspread using OAuth 2. I have seen several people using the code below, however the json file from google developers ("client_secret.....json") does not contain client_email or ...
1
vote
1answer
23 views
GIDSignIn with UISwitch
Google's docs say that if "the class that implements GIDSignInUIDelegate is not a subclass of UIViewController, implement the signInWillDispatch:error:, signIn:presentViewController:, and ...
0
votes
0answers
20 views
Preventing test accounts from getting locked for suspicious activity
Is there a way to prevent a "test" google account (a normal gmail account created for test purposes) from occasionally getting locked out for suspicious activity?
It is used in a selenium test, for ...
0
votes
0answers
31 views
Google Sign-In on iOS doesn't return anything
[Swift]: I'm using a GIDSignInUIDelegate in a UITableViewController, trying to implement Google Sign-In using a UISwitch. When the switch is turned on, I'm getting the view controller asking me to ...
0
votes
0answers
30 views
Using Google Sign-In with UISwitch in UITableViewController
I'm able to get the GIDSignIn view with the button working fine, but I need to hook it up to a UISwitch. I need to use the following methods since the class that implements GIDSignInUIDelegate is not ...
0
votes
0answers
17 views
Google Sign-In API check for current user without button
I can get the basic example located here to work fine: https://developers.google.com/identity/sign-in/web/
However, I would like to check to see if there's a user signed on without displaying the ...
0
votes
0answers
33 views
AuthenticationManager.GetExternalLoginInfoAsync() always returns null when using OAuth2 with MVC5
I've used VS2015 to used the MVC5 template to create a project. I'm using http://www.asp.net/mvc/overview/security/create-an-aspnet-mvc-5-app-with-facebook-and-google-oauth2-and-openid-sign-on as my ...
0
votes
1answer
15 views
Youtube API search with oauth 2 authentication
Why does the youtube API require 0Auth 2 authentication for searching by keyword?
This example shows that it is necessary.
Is it likely that there will be a Youtube search API that doesn't require ...
0
votes
0answers
15 views
Access google chrome extension licensing data from server
I am trying to access my google chrome extension license data.
On the chrome app (with JavaScript) it's work fine, I get the array:
...
0
votes
0answers
13 views
Is it safe to use a local copy of google authentication javascript file?
Is it safe to use a local copy of google authentication javascript file (https://apis.google.com/js/platform.js) ?
By using a local copy I mean downloading it and use it as a local library :
...
0
votes
1answer
71 views
Google Application Default Credentials - “Insufficient Permission” in development & “Bad Request” in production
I'm using Google Application Default Credentials to fetch the list of Labels using Gmail API.
While running the application locally using gcloud preview app run command, I'm getting HttpError: ...
0
votes
0answers
23 views
Google OAuth2 in Swift
I'm trying to hook up a UISwitch to Google Sign-In but absolutely nothing happens when I call the method. I followed the docs to a T but nothing happens. I'm wondering what I'm doing incorrectly and ...
0
votes
1answer
23 views
Google API Error: redirect_uri_mismatch
I have registerd application's ClientID and Client Secret
for my web application running on GoogleAppEngine.
My app using Directory API to sync user info with GoogleApps.
Send API request and ...
0
votes
0answers
19 views
Google Classroom Invalid Argument Errors
I'm running the "add a teacher" example code from here: https://developers.google.com/classroom/guides/manage-users, using python 2.7. It was working earlier today, but now I get this error:
...
0
votes
1answer
48 views
How to retrieve user “basic profile” and email information for Google authenticated user
I'm working on a simple Google login integration for a website. I need a user to be able to click a button, authenticate with Google, and then retrieve some basic information - name, ID, and email ...
1
vote
1answer
36 views
Google Drive: Uploading to a different account than the active one
I've done a little program in VB.NET that, basically, synchronizes a directory with Google Drive and then it obtains the sharing link and creates a shortcut file for that that uploaded file. All works ...
0
votes
1answer
30 views
Issue with youtube upload using resumable c# code
When I try to upload a video to the you tube using resumable upload using the code in C# .
I am getting an error message "The remote server returned an error: (410) Gone.".
Here is the code that we ...
3
votes
1answer
39 views
Google API Oauth 2.0 cron job?
I have created a php script that uses the Google Analytics API, I want to run it with a cron job once an hour. It works fine in my browser, but I need to sign in from time to time with my gmail ...
-1
votes
0answers
16 views
How multiple Authorize Redirect URI's work in new UI
If you noticed, Google developers console has a new UI for creating projects in consoles etc
There is an update which I think is the best update so far. We can create multiple Redirect URI's. But ...