Soundcloud使用Chrome https验证身份验证

时间:2013-02-26 18:48:20

标签: javascript authentication https soundcloud

我的应用程序的身份验证页面使用https,我使用https连接声音:http:

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

但是,当用户通过弹出窗口登录时,Google Chrome会阻止关闭窗口的回调并抱怨:

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

谢谢!

1 个答案:

答案 0 :(得分: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>

这不是http使用的问题吗?