Drive Sharing Dialog (Javascript SDK) Doesn't Work Through HTTPS

I was unable to create a disk sharing dialog ( as described here ) when using HTTPS. When I try to open a dialog, the following error is printed twice in the JS console:

[locked] The page on the page "https: // ..." was loaded over HTTPS, but unsafe content ran from ' http://www.google.com/intl/pl/drive/about.html ': this content should also downloaded via HTTPS.

After a while, the following message appears inside the dialog box

Sorry, sharing is not available at this time. Please try again later.

I looked at some existing websites that use the sharing dialog and they suffer from the same problem - for example, look at draw.io or drivenotepad.appspot.com.

Has anyone else experienced this issue? Is there a solution?

+4
source share

Source: https://habr.com/ru/post/1529325/


All Articles