How does Pinterest get my email address without my entering it? - google-chrome

Which Chrome API or other Google API is Pinterest exploiting here to detect visitor email addresses?
"Use pinterest.com with Google"

I believe this is Google Identities "One-tap sign-up" feature.
With Google's one tap sign-up and automatic sign-in APIs, new users can sign up to your site with just one tap on a dialog that's inline with your page's content. Returning users are signed in automatically, even when they switch devices or platforms, or after their session expires. - Google Identity case studies
It seems that this is currently a beta API feature which they are currently improving cross-browser functionality.

Related

Google Calendar Addon on mobile

I have created a Google Calendar Add-on which can be accessed from Desktops and laptops. This now needs to be made available for users on mobile as well. As per Google Calendar Add-on Documentation, Calendar add-ons are not available on mobile clients.
Is there any way to access the add-on on mobile, other than extending it into a Gmail Add-on ?
P.S. :-
As this question is more on Google Product feature availability, I am not having any relevant codes here to share.
I had already posted this same question in Google Support group. However, have not recieved any response there yet.
The documentation you referenced seems quite clear on this:
You can't yet use Calendar add-ons on mobile clients.
Feature request:
In this case, I'd consider requesting this feature on Google Issue Tracker using this template.

Google sign-in through virtual cloud server

This is a basic question.. I'm not developing an app or anything...
Just want to sign in to google via browser on a cloud-based virtual desktop (Ubuntu), but the sign-in page says my browser is not secure.
From what I've researched it seems google does not allow sign-in from an "embedded" browser.
Is there any easy way around this? Or maybe even a difficult way... ?

Apps Script consent screen issues with Authorized JavaScript origins

I developed an Apps Script Web App that uses some Google Apis (drive, calendar, etc.).
I wrote Terms and Privacy Policy and requested Google to approve it, and they keep bugging me that I need to remove, from "Authorized Javascript origins", anything that is not hosted on my real TLD's (own domains).
The problem is I need to put on the authorized origins some https://n-blablabla-0lu-script.googleusercontent.com URL's, because those are the origins of the Apps Script itself, where the LOGIN button is.
Basically when someone enters my app, if it is not yet logged in, I show in the app itself a Login button, and once the user logs in, I request the permissions. This is pretty common, and since the Apps Script runs in google platform, it has google on its URL/origin.
I spent ~2 weeks with Google Support trying to explain them that I cant remove those authorized origins of https://n-blablabla-0lu-script.googleusercontent.com, otherwise, I do get this:
idpiframe_initialization_failed: Not a valid origin for the client
The Google Sign-in library requires that the domain registered in the Google Developers Console matches the domain being used to host the web page. Ensure that the origin you registered matches the URL in the browser.
the Web App is embedded on a Google Sites (new) iframe

Using Gmail API in Chrome Extension without Identity API?

I have a Chrome extension that uses the Gmail REST API to send emails on behalf of the user. This API requires an Oauth2 token, which I'm retrieving using chrome.identity.getAuthToken.
The Problem
However, I am running into some issues with the Chrome Identity API. In particular, if the user authenticates with chrome.identity with a different Gmail account then the one they're signed into Chrome with, then they are prompted to re-login every hour or so (which doesn't happen if the accounts are the same). In addition, I'd like to minimize the number of permissions my extension asks for as a general principle (permissions sometimes introduce warning messages on install and risk disabling existing users on update), so I'd like to not have to ask for the "identity" permission if I can avoid it.
My Question
How can I authenticate the Gmail API in Chrome Extensions without using the Identity API?
Current Progress
I initially tried using Google's Javascript Client for auth, but that seems to be incompatible with Chrome extensions. After having searched other SO issues and some Google materials, it seems that the Identity API is indeed the recommended auth solution in Chrome Extensions. However, for the UX reasons mentioned above, I'm finding this solution problematic. And I do think an alternative should be possible -- for example, the MixMax Chrome extension, which uses the Gmail API, does not ask for the Identity permission.
Any help would be much appreciated! Thanks!

can google map send push notification to user without app install?

I need some help to understand better about google maps push notifications.
Nowadays we are getting push notifications from different restaurants, hotels or shops whenever we visited or leave the area.
how this is happening. Do we need to use any product from the Google to support this feature or Google is promoting the app itself?
I need the same feature to integrating for my project. so whenever a person comes to a place within the radius defined. we need to track their location using GPS and google maps. and once the person leaves the area we need to send a push notification to their mobiles
But our goals is to a person should not install any other Android or IOS app and bluetooth is off. The notification should be get using the Google maps only
so can anyone please let me if this can be achieved? do we have any APIS which Google can provide
Your phone should be subscribed for the Push Notifications. So some app in your phone did this. Also it is impossible to be subscribed without user's permission (at least at iOS). You can check permissions in app settings.
to get more undestanding you can look into: Apple Push Notification Service (APNS)