Invalid redirect with Google Drive and Sites - api

I developed a Google Drive API app and then wanted to put it on a Google Sites page, which I did by inserting its code into an "embed HTML" element on a new Sites web page I created. But, as soon as the code tries to initiate a user authorization login to Google, a redirect_uri_mismatch error 400 occurs with the offending url being origin=https://1538261391-atari-embeds.googleusercontent.com, which appears to be used by the Google code that was automatically inserted on the web page (not by me) to access font data for the page. Even though the Google instructions do not say anything about adding this domain to the uri redirect list, I tried adding it anyway in the Google Cloud Client ID Authorized Redirect setting, but anything .googleusercontent.com is forbidden there.
Can this be fixed, or am I wrong to even be trying to use the Drive API on a Sites web page? Note that I checked the stack overflow topic "Integrating Google Drive with Google Sites (intranet)" and it was unhelpful.

Related

Google bots are indexing pages from the second domain on the server

Could you help me? Recently my websites on the server were updated to HTTPS - vectorization-eu and pixsector-com. The problem is that google bots for some strange reason indexing pages from pixsector under vectorization-eu domain. Vectorization-eu doesn't have .htaccess file. Could be this an issue.
PREVIEW
Request removal of the URLs that do not exist on Google Search Console.
Upload a site maps to Google Search Console for each domain.

Mailchimp landing page fail to index on Google Search Console because blocked by robots.tx

A mailchimp landing page with a custom subdomain is failing to index on Google Search Console because it's being blocked by robots.txt.
The domain is authenticated on Mailchimp and the landing page subdomain is verified on Mailchimp. SSL is working fine. Google Search Console is able to index other subdomains using other services - just not the Mailchimp landing page. I didn't see anywhere within the Mailchimp portal where the robots.txt file can be modified.
I was expecting Google Search Console to queue up the landing page for indexing. However, I received an alert: Index Request Rejected. Drilling into the alert: Crawl was not allowed because it's blocked by robots.txt.

Google OAuth2 for authentication redirect hangs

I've implemented a simple OAuth2 for Authentication login system that is working reliably on my dev server using a localhost redirect uri.
When testing from a production server, with updated redirect uri, the Google account permission interface opens up for the user logging in. After authorizing account access, the browser just hangs on "Waiting for accounts.google.com..." and doesn't go anywhere. At this point, I can see that the application has been granted access to my profile by viewing account permissions on my Google account dashboard.
If I change the redirect uri to an invalid one, I do get the invalid redirect uri Google error message back, so it looks like the redirection cannot reach my redirect uri. I can reach the reditect uri directly through a browser though. Any pointers?
Had a similar problem trying to create a "Login with Google" App. Since this was my first Google App, and I was also just first using the social networking setups in the software package which I bought BEFORE the Google API had changed, I was at a complete loss as where to start.
It finally dawned on me to redirect Google (via the App settings in the developer console) to a test web page on my site (instead of the page defined by the software package,) and all worked as expected, meaning Google redirected properly to the test page (which was actually just my root index.php). This told me that because the Google API had changed, my software package functionality was obsolete, and I needed to explore the code there.

How to integrate apache and google site via proxy

My question is "How to integrate apache and google site via proxy"?
I found this tutorial but it didn't work as I expected. It redirect to google site instead of keep my domain in address bar and change content only.
In my case, I want whenever people access to http://mydomain.com, they will see the content from https://sites.google.com/site/mydomain/
Thanks!
I think it's not possible because you can't acces on the dataBase on your Google Sites. The url of your Google can't change.

google indexing wrong page

When I google for cms tutorial my website is the first link which is obviously great. Unfortunatly it is showing the Under construction title I was using when I was updating my site. When you click on the link you of course you go to my website but the title link still remains "CMS TUTORIAL SITE - Under construction" in google instead of the name of the actual page.
How can I request google to re-index that page, I allready requested to remove the cache for that url with the google webmaster tool.
You could request to update your url here.