google-oauth

Error:invalid_client - The OAuth client was deleted even after having undeleted the API project

本小妞迷上赌 提交于 2019-12-31 03:21:13
问题 I am currently facing an issue with my Google API project. This project was deleted yesterday (I don't know who did it...) so I tried to undelete it. After this I still get the same error message: Error: invalid_client The OAuth client was deleted. Request detail cookie_policy_enforce=false scope=https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email https://www.google.com/m8/feeds/ https://www.googleapis.com/auth/calendar https://www.googleapis.com

Google Apps Marketplace v2 - How to test the project created in GAMv2 with another test domain using Test Install?

假装没事ソ 提交于 2019-12-31 01:47:17
问题 I have done the following steps in Google Developer Console for creating an App in GAMv2. Created a project in the Google Developer Console Created a web application in the project Created a Service Account in the project Added Google Marketplace SDK and tried with Test Install Flow. If I need to test the install flow with the another domain before listing in the Google Marketplace, how do I test with a domain other than the Domain with which the Project is created? If I need to create in the

Google OpenID Connect: Receiving a 500 error when supplying the “max_age” parameter to an authentication request

我的未来我决定 提交于 2019-12-30 14:08:48
问题 As required by Google, we are attempting to finish our migration from Google's previous OpenID Authentication flow to the new OpenID Connect implementation. Everything has been relatively straightforward up until we attempted to use the max_age parameter (as defined in the openid-connect-core spec), which serves to replace the OpenID pape extension parameter: max_auth_age . Supplying the max_age parameter doesn't break the authentication request right away, but only after the user

Google OpenID Connect: Receiving a 500 error when supplying the “max_age” parameter to an authentication request

安稳与你 提交于 2019-12-30 14:08:21
问题 As required by Google, we are attempting to finish our migration from Google's previous OpenID Authentication flow to the new OpenID Connect implementation. Everything has been relatively straightforward up until we attempted to use the max_age parameter (as defined in the openid-connect-core spec), which serves to replace the OpenID pape extension parameter: max_auth_age . Supplying the max_age parameter doesn't break the authentication request right away, but only after the user

Google OAuth2 API. Check user has two factor authentication (Not GSuite)

拜拜、爱过 提交于 2019-12-30 10:24:10
问题 I use scopes: https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email but result data of: https://www.googleapis.com/oauth2/v1/userinfo https://www.googleapis.com/oauth2/v3/tokeninfo not contains info about exist two-factor auth on google account. Can I get boolean or another value about it? 回答1: Sorry we don't expose If a user has 2 factor auth or not) through API. We have been thinking about this for a while. We have been doing a lot of things to

YouTube API v3 keeps asking for authorisation every time

岁酱吖の 提交于 2019-12-30 09:56:07
问题 I am using the YouTube api v3 to retrieve a list of videos using the example at https://developers.google.com/youtube/v3/code_samples/php#retrieve_my_uploads I open the page, the app asks for authorisation. I click the link to authorise, select my gmail account and I get the listing. The problem is when i go back to the app even only a few seconds later, I have to authorise the app again. I thought once the app was authorised you could exchange a token for a refresh token. Is there anywhere

Integrate oauth2 with native (iOS/Android) mobile application

耗尽温柔 提交于 2019-12-30 09:47:33
问题 I need to integrate OAuth2 in a iOS and Android native application. I have been researching on OAuth2 and mobile applications and found this documentation - Google APIs - Using OAuth 2.0 for Installed Applications The above documentation basically details how to consume Goolge OAuth 2.0 endpoint in mobile applications. Here is what the document says - When registering the application, you specify that the application is a Installed application. This results in a different value for the

How to force account login for a single account user with Google's OAuth 2.0?

佐手、 提交于 2019-12-30 09:44:32
问题 Sometimes when a user logins into a site with Google's OAuth 2.0 they choose the wrong account to login with. Normally this isn't a problem if the user has more than one account registered with the browser, google will automatically show the user select screen: But if a user has only one account and is logged in, this screen is skipped. Instead I need Google's sign in panel to always appear, so that I can be sure the user has the option to try and enter the correct account. I tried using

How to force account login for a single account user with Google's OAuth 2.0?

余生长醉 提交于 2019-12-30 09:44:12
问题 Sometimes when a user logins into a site with Google's OAuth 2.0 they choose the wrong account to login with. Normally this isn't a problem if the user has more than one account registered with the browser, google will automatically show the user select screen: But if a user has only one account and is logged in, this screen is skipped. Instead I need Google's sign in panel to always appear, so that I can be sure the user has the option to try and enter the correct account. I tried using

Google always returns expired id token(JWT)

孤街醉人 提交于 2019-12-30 06:17:08
问题 According to https://developers.google.com/android/reference/com/google/android/gms/auth/api/signin/GoogleSignInApi.html#constant-summary If you use the ID token expiry time to determine your session lifetime, you should retrieve a refreshed ID token, by calling silentSignIn prior to each API call to your application server. I am trying to get a new token by calling silentSignIn. But, I always get the same expired ID token. Can some one please help me in pointing out the right documentation