google-oauth2

Using Postman to access OAuth 2.0 Google APIs

删除回忆录丶 提交于 2019-11-27 10:31:50
I am trying to access Proximity Google API using Postman chrome app . I have followed tutorials on postman and google dev website but I'm still getting 401 error message. What am I doing? Step 1 - Enable Proximity API: In order to use Proximity API, it has to be first enabled in Google Dev console. Using this tutorial I have enabled support for Proximity API for my project Step 2 - Get the credentials: According to this tutorial, I need to get client ID and secret. This is where I am confused. Credentials->Add credentials->OAuth2.0 client ID->select Chrome App radio button (since I am using

Google Calendar API v3 - authenticate with hardcoded credentials

落花浮王杯 提交于 2019-11-27 03:41:45
I am writing a PHP application that's supposed to allow users to add certain events to a private Google Calendar. The calendar is owned by me, and I need a way for PHP to communicate with the calendar API using fixed credentials (everyone can add events using a form on the website, but the calendar itself is not publicly visible). From what I have read, this is possible using ClientLogin in the v1 API. In the v3 API, however, the available options are OAuth2.0 or the API key. Using the API key doesn't seem to work, since it can only be used for requests that don't require authorization, and

Google Drive API Client (Python): Insufficient Permission for files().insert()

不问归期 提交于 2019-11-27 03:15:49
问题 I am trying to get a simple Python Google Drive uploader working. I've created a project in the developer console, enabled the Drive API and added an OAuth 2.0 client ID (application type Other). I can see the application listed in the Google Drive's Settings -> Manage Apps, and can successfully execute many operations provided by the Python Drive API client from Google. files ().insert () however fails with: googleapiclient.errors.HttpError: <HttpError 403 when requesting https://www

Google 400 Error: invalid request Custom scheme URIs are not allowed for 'Web' client type

南笙酒味 提交于 2019-11-27 03:05:06
问题 When I am signing into Gmail in my iOS App, I am getting the below error (screenshot) and the sign-in fields do not appear. We are loading the sign-in screen in a WKWebView. We are using a custom URI redirect but why is google throwing this error now. What are the alternatives to a custom URI? Swift 2.3 project Using OAuthSwift v0.6.0 cocoapod This started quite recently only in the past week or so I believe something changed with Google's APIs. I have read that google is deprecating webviews

Google API refresh token limit

纵饮孤独 提交于 2019-11-27 00:38:49
问题 I'm developing an application wherein I need to access multiple google calendars. All these calendars come from different users. And right now I am using OAuth2 for the syncing. But as I understand it, I can only generate 25 refresh tokens per client ID. Note: Save refresh tokens in secure long-term storage and continue to use them as long as they remain valid. Limits apply to the number of refresh tokens that are issued per client-user combination, and per user across all clients, and these

How to use the Gmail API, OAuth2 for Apps Script, and Domain-Wide Delegation to set email signatures for users in a G Suite domain

两盒软妹~` 提交于 2019-11-26 16:38:28
问题 This is a follow-up to a previous question/answer I posted (How to use the Google Email Settings API and the OAuth2 for Apps Script Library to set email signatures for users in a Google Apps domain), but I'm creating a new question since the Email Settings API has been deprecated and the process is significantly different now. As the administrator of a G Suite domain, how do you use the Gmail API to programmatically set the email signatures of users in your domain through Google Apps Script?

Google Calendar API v3 - authenticate with hardcoded credentials

三世轮回 提交于 2019-11-26 10:36:13
问题 I am writing a PHP application that\'s supposed to allow users to add certain events to a private Google Calendar. The calendar is owned by me, and I need a way for PHP to communicate with the calendar API using fixed credentials (everyone can add events using a form on the website, but the calendar itself is not publicly visible). From what I have read, this is possible using ClientLogin in the v1 API. In the v3 API, however, the available options are OAuth2.0 or the API key. Using the API

How to authenticate user with just a Google account on Actions on Google?

ⅰ亾dé卋堺 提交于 2019-11-26 08:03:30
Currently Google Assitant includes an easy way to request non-identifiable information about the user and a detailed flow to authenticate the user on a third party service through OAuth2. What about if all I need is have the user authenticate on Google itself? I tried filling in the account linking flow using Google OAuth2 information, but that seems not to work. If that last thing is supposed to work fluently than that would be enough of an answer. Context: Users already authenticate only with Google on a related webpage. All I need is to link this already authenticated account with the less

How to authenticate user with just a Google account on Actions on Google?

流过昼夜 提交于 2019-11-26 01:16:26
问题 Currently Google Assitant includes an easy way to request non-identifiable information about the user and a detailed flow to authenticate the user on a third party service through OAuth2. What about if all I need is have the user authenticate on Google itself? I tried filling in the account linking flow using Google OAuth2 information, but that seems not to work. If that last thing is supposed to work fluently than that would be enough of an answer. Context: Users already authenticate only