2013-02-26 22 views
0
權威性

我的應用程序的身份驗證頁面使用https和我有的SoundCloud使用HTTPS連接JS:的SoundCloud HTTPS使用Chrome

<script src="https://connect.soundcloud.com/sdk.js"></script> 

但是當用戶通過彈出的谷歌瀏覽器登錄會阻止回調關閉窗口並抱怨說:

The page at ... ran insecure content from http://connect.soundcloud.com/sdk.js. 

謝謝!

回答

1

嘗試可能: <script src="//connect.soundcloud.com/sdk.js"></script>

然而,這得到了一些性能問題在IE7中,根據這個帖子IE8:評論
http://robertnyman.com/2010/02/18/css-files-downloaded-twice-in-internet-explorer-with-protocol-relative-urls/

更新找你的鏈接後:

<div ng-controller="LoginCtrl" ng-init="init('numbers', 
    'http://distinctive-kreek.rhcloud.com/authenticated')"> 
<h1> Login ...</h1> 
</div> 

這不是問題,這裏是ht用過?

+0

嘿,雅我之前試過一個相對的協議,並得到了同樣的錯誤(並希望避免這個問題) - 謝謝:) – kreek 2013-02-26 19:00:39

+0

看了一下這個鏈接後做了更新。 – p1100i 2013-02-26 19:08:48

+0

Doh,好,但是問題仍然存在。重定向實際上不需要是https,但是OpenShift(rhcloud)有一個錯誤,現在所有內容都被重定向到https https://openshift.redhat.com/community/forums/openshift/my-site-runs-通過https專用 – kreek 2013-02-26 19:53:31