I am building a chrome extension and I'm redirecting the user to a google meet page. Google uses something like ?authuser=X at the end of URL to determine the google account to use with a video call. I want to get the X for the specific email I have which is signed in on google meet so that I can redirect the user to google meet with that account. Is there some way to list all the signed In accounts on the chrome browser with their number X?
Related
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
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 1 year ago.
Improve this question
I've embedded a Google map that I created using Google account A.
If I am not logged in to any Google account and visit the website then the map works fine.
If I log in to one Google account (let's say Google account B) and visit the site then the map works fine.
If I 'Add another account' or sign in to another Google account (let's say account C) in the same browser then I get a little red monster icon instead of the map and the message "www.google.com redirected you too many times".
If I sign out of all Google accounts then the map works fine.
Again, if I sign in with one account then the map appears correctly.
Does anyone know why this is and how I can fix it? I'm finding that quite a few people are running two Google accounts.
There's no message in the console. We use Drupal but I've embedded the map in a simple HTML page and the result is the same as above, so I guess it's a Google issue. I couldn't find anything online about it, except a comment in a Scandinavian forum that maps don't show if you are logged in with more than one account.
It's also not a problem with the maps' sharing permissions. They are all public.
Update:
I've narrowed the problem down a bit. This isn't an issue on our web server because, as I mentioned, I can replicate it in a static HTML page opened from my desktop in a browser, with no server, CMS or .htaccess file involved. Instead it appears to be an issue related to my institutional Google account. I have two personal accounts and an institutional one.
If I log in with my institutional account first then sign in with
another account the maps don't work.
If I sign in with a personal account then sign in with my institutional account the maps work.
If I sign in with any combination of the personal accounts then the maps
work.
So the problem occurs when I'm signed in with the Google account provided by my institution, then I sign in with another Google account. It doesn't matter which account created the map.
So here's the answer: the administrators of the institutional GSuite account had not enabled Google Maps for our accounts.
According to this thread the first Google account you log in to is treated as your default account. So when I logged in to my institutional Google account then logged in to another account my permissions were inherited from my institutional Google account.
That doesn't explain why I can see the maps when I am only logged in to my institution account, but it seems from comments online (like in the thread I linked to) that accessing services through multiple accounts can be buggy.
So the error message given by the browsers wasn't helpful in this case. The root cause wasn't to do with redirects but account permissions to view maps.
I created a google sheets addon that pulls some information from gmail and displays it in a specific format on a worksheet. This addon is to be used only by my account so I've set it as unlisted in the webstore. I've published this addon to google and paid my $5. It looks like everything got accepted just fine and when I see the definition of the addon on the store it says: Published / GAM: Pending under Status.
Initially, when I clicked on the Addon's Name in the Developer Dashboard I was able to see what the Addon would look like in the store and there was a link to install the addon for free. When I would click this link I would get taken to an empty google sheet and then after a few seconds I would get a pop-up that would say "Add-on not found. Try again, or check back later." I did as suggested and tried several times later with no luck. Then after a while when I now visit the chrome developer dashboard and I click the addon's Name I get taken to the G-Suite Market place page not the addon's page. I tried replushing the addon but still got the same results.
Does it take hours for google to process unlisted addons? Is there something that I a missing? I read something about google store migrating to G suite market place, is this part of the problem?
When the Add-ons menu is choosen in a Google spreadsheet, and the "Get add-ons" menu item is clicked, the GSuite Marketplace now opens by default.
The changes that you have experienced are because of the migration of add-ons from the Chrome Web Store to the GSuite Marketplace.
It is still possible to navigate to your listing in the Chrome Web Store, but you can't do that through the old Chrome Web Store developer dashboard. You need to go to the new Developer Dashboard. The problem is, that even though you can see the unlisted add-on listing in the Chrome Web Store, it can't be installed.
New Chrome Web Store Developer Dashboard
In the status column you will see a Published-Unlisted status for your add-on.
If you don't use the new Chrome Web Store developer dashboard, then you may not be able to find your listing at all for add-on published as unlisted.
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.
I'm looking to intercept a web request and launch that URL in another instance of Chrome. We have a Google Apps for Business account. And I regularly receive emails with Google Drive links. But they open in the last browser that had focus, which can be my personal user window. I'm looking to have Chrome get that web request, then either automatically open the link in the right window, or prompt for a choice. Is that possible?