I'm trying this module with our website and found the social icons don't appear for the protocol issue. One of the many error displayed in console is as below:

Mixed Content: The page at 'https://acobot.ai/user' was loaded over HTTPS, but requested an insecure script 'http://acobot.api.oneall.com/socialize/library.js'. This content should also be served over HTTPS.

On the the module configuration page, https is already chosen for the protocol. However the module still use wrong protocol.

I looked the module codes and found it involves

  global $is_https

The problem is it's never assigned with a value.

Can you help with that? Our website requires HTPPS so such a bug prevents us from using your service totally.

Thanks!

Comments

acobot created an issue. See original summary.

serhiyvk’s picture

The same issue with me. On the module configuration page I've API communication protocol as Port 443/HTTPS, but the link to social login doesn't appear, instead my browser reports about blocked insecure content. When I allow the insecure content, the icons appear, but their links look like http://[my login].api.oneall.com/socialize/login/....

ClaudeSchlesser’s picture

Hello,

could you please tell me which version of Drupal you are using?

Regards,

ClaudeSchlesser’s picture

Hello,

it seems hat some older Drupal 7.x releases did not have the is_https variable.

I have now pushed a new version here:
https://www.drupal.org/project/social_login/releases/7.x-2.0

It does not rely on the is_https variables.

Could you give it a try?

ClaudeSchlesser’s picture

Status: Active » Needs review
acobot’s picture

Hi CaludeSchelesser,

We use Drupal 7.59.

I tried the new release 7.x-2.0 but the problem persists.

Can you check it further?

Thanks

ClaudeSchlesser’s picture

Hello,

do you have a link so that I can have a look at the issue?

Regards,

ClaudeSchlesser’s picture

Ok, I have further worked on the detection.

Please try the new version:
https://www.drupal.org/project/social_login/releases/7.x-2.1

ClaudeSchlesser’s picture

Status: Needs review » Fixed
ClaudeSchlesser’s picture

Status: Fixed » Closed (fixed)