Tagged Questions
25
votes
2answers
5k views
OAuth2 - Why do access tokens expire?
I am just getting started working with googles API and Oauth2. When the client authorizes my app I am given a "refresh token" and a short lived "access token". Now every time the access token expires, ...
16
votes
2answers
5k views
Google access token expiration time
When I obtain an access_token from the Google API, it comes with an expires_in value.
According to the documentation, this value indicates "The remaining lifetime of the access token".
I'm sure that ...
15
votes
4answers
2k views
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, ...
12
votes
6answers
18k views
How to obtain Signing certificate fingerprint (SHA1) for OAuth 2.0 on Android?
I'm trying to register my android app following the steps in https://developers.google.com/console/help/#installed_applications which leads me to follow
...
12
votes
1answer
12k views
Google OAuth 2 authorization - Error: redirect_uri_mismatch
On the website https://code.google.com/apis/console I have registered my application, set up generated Client ID: and Client Secret to my app and tried to log in with Google.
Unfortunately, I got the ...
9
votes
3answers
2k views
Using Google OAuth2 with Flask
Can anyone point me to a complete example for authenticating with Google accounts using OAuth2 and Flask, and not on App Engine?
I am trying to have users give access to Google Calendar, and then use ...
9
votes
2answers
963 views
Step by step Google SSO (java)?
I am lost in all my open browser tabs for Google single sign on :)
I already have an application which I would like to put on Google market place. And mandatory integration is Google SSO. I have ...
7
votes
1answer
1k views
Why does Google OAuth2 re-ask user for permission when i send them to auth url again
With the old google openid, when i sent a user (who had previously opted-in to my app) to the auth url, it would immediately redirect them back to my app.
Now, with OAuth2, the auth url keeps asking ...
7
votes
5answers
2k views
How to prevent the extra view displaying an access code when using Google OAuth 2.0
I followed http://googlemac.blogspot.com/2011/05/ios-and-mac-sign-in-controllers.html to allow users to use Google to login to an iPhone app. After I tap "Allow access" button I get an extra screen ...
7
votes
3answers
9k views
Google OAuth 2 authorization - swapping code for token
I'm trying to implement Google OAuth 2 to get access to Google APIs. I follow this guide, using server-side scenario.
I have no problem with getting the code, server redirects to localhost (which is ...
7
votes
6answers
4k views
“Login Required” 401 Unauthorized message when calling the v3 Google Calendar API using a Service Account via OAuth 2.0
First, let me explain what I am trying to do, as this is a two part question.
I am building a JAX-RS service that internally authenticates with a Google account via OAuth2, so it can access and ...
6
votes
4answers
2k views
Using Google oAuth on WP7
I trying out a small app for windows phone 7 that use Google tasks services, the problem is I'm not able to get pass to login.
I have read the all the steps given in documentation and following them
...
6
votes
1answer
253 views
Does anyone know of any good complete resources to achieve google authentication using python?
Here is what I'm trying to do:
I want to be able to finish the "OAuth token dance" and gain an access token so I can then use that to connect to googles IMAP api for a user.
Here are my problems:
I ...
5
votes
3answers
7k views
Authentication on google: OAuth2 keeps returning 'invalid_grant'
I started to configure google calendar on my new application. I almost made an exact copy of the authentication code displayed at google developers ( ...
5
votes
2answers
1k views
Android subscription and Google API
I'm trying to use the new Android subscription system from Google Play into my application (I already had in-app billing working fine). I have successfully done the subscription billing, but I now ...