google-php-sdk

Google Picker with AccessToken not working

泪湿孤枕 提交于 2021-02-08 11:42:41
问题 I can't seem to get Google Picker working. I have authenticated my user using the PHP League Oauth Provider After authenticating, an accessToken for my user looks something like this; ya67.Fi_dfioriogneegroig7Czdy54z0sdfdvnfr9fn38n3n93 This is my Javascript and HTML code for rendering the picker; <a href="{{ appContextInstallId }}/authenticate" class="btn info"> <i class="icon-bolt"></i> Authenticate </a> <button onClick="createPicker()">Add a new document</button> <script type="text

Google login API: force to type password?

非 Y 不嫁゛ 提交于 2020-07-16 04:15:34
问题 I'm using several social providers on my site, including Google. I would like to ask for password to Google account each time user requests one of my actions. This is for security reasons. With Facebook, we can send auth_type=reauthenticate parameter. Is there something like this in Google API? I'm not looking for refreshing tokens, I need to make sure user types his password at any state: whether already authenticated or not. 回答1: I read your posts and I can relate to your frustration on

Google login API: force to type password?

倖福魔咒の 提交于 2020-07-16 04:15:08
问题 I'm using several social providers on my site, including Google. I would like to ask for password to Google account each time user requests one of my actions. This is for security reasons. With Facebook, we can send auth_type=reauthenticate parameter. Is there something like this in Google API? I'm not looking for refreshing tokens, I need to make sure user types his password at any state: whether already authenticated or not. 回答1: I read your posts and I can relate to your frustration on

Google API: How to increase access token expiration date?

蓝咒 提交于 2020-04-30 16:34:31
问题 Google API expiration date is 1 hour, the problem is that I'm using the API in order allow users to use admin SDK features (List groups, add members to a group etc.) No one can do any of that in one hour, that would require users to login to their accounts multiple times per day to manage their groups. A 1 hour expiration date is good if you just want to use Google to authenticate users. How to increase that or is there any work around? Am I missing something? 回答1: Due to security reasons,

Changing event start date from “date” to “dateTime”

≡放荡痞女 提交于 2019-12-23 23:01:34
问题 I am trying to patch an existing event with new start and end date using the Google API Explorer So my event at the moment looks like this { "kind": "calendar#event", "etag": "\"2912997881756000\"", "id": "3fpkrr85sdfdgsdfsdsdflgn7vk74qhiv2o", "status": "confirmed", "htmlLink": "https://www.google.com/calendar/event?eid=M2Zwa3JsdfsdfyODVudWZobGduN3ZrNzRxaGl2Mm8gZHlsbsdfsdfi5pb19xNjUwcWRhcnYyam9vYWYzcTdudmhpc2ZvNEBn", "created": "2016-02-26T14:32:33.000Z", "updated": "2016-02-26T15:02:20.878Z"

Google App Engine PHP, Couldn't resolve host [closed]

余生长醉 提交于 2019-12-22 00:08:49
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . Tonight we started getting curl errors with Google App Engine involved in resolving hostnames that are many including google. Error: "Couldn't resolve host 'maps.google.com'" - Code: 6 Yes, Billing is enabled, and this has been working for months until just now. Thought I would post to see if anyone knew