Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Debobrata

    (@debobrata)

    I used the latest version but didn’t notice that script on the plugin files. I might have had some other issues with SSL certificates.

    Thread Starter Debobrata

    (@debobrata)

    Hey Juan,

    Thanks for getting back to me. We have solved the issue already. However, I got a script from janrain support, so if anyone is having problem with secured http, then the script below might help them to fix that.

    <script type="text/javascript">
    (function() {
    if (typeof window.janrain !== 'object') window.janrain = {};
    if (typeof window.janrain.settings !== 'object') window.janrain.settings = {};
    
    janrain.settings.tokenUrl = '__REPLACE_WITH_YOUR_TOKEN_URL__';
    
    function isReady() { janrain.ready = true; };
    if (document.addEventListener) {
      document.addEventListener("DOMContentLoaded", isReady, false);
    } else {
      window.attachEvent('onload', isReady);
    }
    
    var e = document.createElement('script');
    e.type = 'text/javascript';
    e.id = 'janrainAuthWidget';
    
    if (document.location.protocol === 'https:') {
      e.src = 'https://rpxnow.com/js/lib/themailbox/engage.js';
    } else {
      e.src = 'http://widget-cdn.rpxnow.com/js/lib/themailbox/engage.js';
    }
    
    var s = document.getElementsByTagName('script')[0];
    s.parentNode.insertBefore(e, s);
    })();
    </script>

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)