google-oauth2

Restore deleted (?) Google OAuth client app for production system

我是研究僧i 提交于 2019-12-08 15:29:40
问题 we are getting a 401 Error from Google API: 401. That’s an error. Error: deleted_client The OAuth client was deleted. It seems that the Google-OAuth-API Client was deleted. Maybe on firebase? Whould be really strange when we delete a firebase project that it is also deleted on Google API... Is there any way to restore this?! Thanks a lot for your help! Best 回答1: For everyone who has this problem too. Found the solution: Project owners can restore a deleted project within the 30-day recovery

Google API Oauth2: Only one refresh token for all users?

China☆狼群 提交于 2019-12-08 14:46:50
问题 I am using OAuth2 Authentication, and I have a CMS with multiple users, each with their own profiles. It happens that our company has a Google account with access to multiple Analytics accounts. For each user who uses the CMS, I connect to the Google Analytics API using a different username, and each user’s token is saved in a database data store. The problem is, if one user disconnects and revokes his token, none of the other users who use the same Google account will be able to access the

How to allow access to accounts by less secure applications?

给你一囗甜甜゛ 提交于 2019-12-08 10:43:03
问题 How to allow access to accounts by less secure applications? I do not find it useful to run my scripts on my own classic gmail account, I'm constantly having to authorize the application I created and gives access to my library that I created and that I use exclusively with the classic gmail owner account Can you tell me how to do without oauth (personal script that uses a personal library) with my one and only classic gmail account? Hello , I currently have a Gmail Basic account at myaddress

Can Google client-id and client-secret credential be exploited by a non org member?

两盒软妹~` 提交于 2019-12-08 07:53:01
问题 Say we have a kubernetes cluster with Google as the OIDC provider for authentication. Every developer using that cluster has the ~/.kube/config with following configured: user: auth-provider: config: client-id: <client-id> client-secret: <client-secret> id-token: <id-token> idp-issuer-url: https://accounts.google.com refresh-token: <refresh-token> When the developer leaves the organisation he is removed from Google login and he can not use this ~/.kube/config to access kubernetes resources as

allow my user to add meeting in my calendar with Google Calendar API with PHP without auth

社会主义新天地 提交于 2019-12-08 07:52:45
问题 I am working on a app that allows my users to schedule/reschedule Calendar events using one of my Google calendars, where I don’t need the users to authenticate themselves with Google. What i need to use is the Google Calendar API with a service account. I tried to write something with api v2 but I had a problem, so I would like to know if you could direct me to a tutorial or an example, or just an example of insertion <?php require_once './google-api-php-client-2.2.2/vendor/autoload.php';

OAuth2 with Google Cloud Print

二次信任 提交于 2019-12-08 02:08:15
问题 I had written a Google Apps Script that connected to Google Cloud Print to automate some printing. The script would auto-run on a time interval, search for relevant files, and if found it would sent them to my printer. My code used OAuthConfig and was working fine , but now that class has been deprecated and after a weekend of trial & error and scouring the interwebs I can't get it to work with OAuth2 . Here's the OAuthConfig code that was working fine : function printDoc(docId, docTitle,

How can I redirect users back into my app after google oauth without using a webview?

夙愿已清 提交于 2019-12-07 22:41:17
问题 Google's decision to disallow oauth via webview is causing me huge amounts of trouble. It's been a long and difficult process migrating to an alternative (I'm using the suggested AppAuth library at the moment) and I'm getting user complaints about not being able to link accounts without also adding them to chrome/their device (which as far as I can tell is now impossible without somehow forcing a private browsing session). My latest problem involves google oauth to sign into another service.

'JKS not found' when trying GoogleNetHTTPTransport

空扰寡人 提交于 2019-12-07 01:15:20
问题 I've been having some troubles with Google Authorization and I've never worked with any "Google credentials-involved" process before. My problem takes place after I've created the credential reader (which I assume means that I could access my Google credential's JSON file correctly), just in the line where I instantiate a new Trusted Transport from the GoogleNetHTTPTransport . There, the Exception error throws: W/System.err: java.security.KeyStoreException: JKS not found at java.security

google-api-php-client's autoloader deprecated

十年热恋 提交于 2019-12-06 12:38:50
As a test, I ran one line of code in PHP to implement the PHP Client Library. indexTest.php <?php require_once realpath(dirname(__FILE__).'/google-api-php-client/autoload.php'); return; I get this error: Deprecated: google-api-php-client's autoloader was moved to src/Google/autoload.php in 1.1.3. This redirect will be removed in 1.2. Please adjust your code to use the new location. in C:\Users\NoName\Documents\academic-being-90217\google-api-php-client\autoload.php on line 25 What do I need to do to fix this? Quick Fix: require_once realpath(dirname(__FILE__).'/google-api-php-client/src/Google

How to check service-to-service authentication in Google Cloud Endpoints?

陌路散爱 提交于 2019-12-06 12:05:50
问题 I'm trying to split a monolith Google App Engine application (using Python & standard environment) into several services within one application. Default service is calling API implemented using the Endpoints framework in another service. Everything works nicely except that I don't understand how to correctly check authentication of the default service (and make it work both in local development server and in production). To call the service I'm using google-api-python-client and default