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
Comment #2
serhiyvk commentedThe 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/....
Comment #3
ClaudeSchlesser commentedHello,
could you please tell me which version of Drupal you are using?
Regards,
Comment #4
ClaudeSchlesser commentedHello,
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?
Comment #5
ClaudeSchlesser commentedComment #6
acobot commentedHi 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
Comment #7
ClaudeSchlesser commentedHello,
do you have a link so that I can have a look at the issue?
Regards,
Comment #8
ClaudeSchlesser commentedOk, I have further worked on the detection.
Please try the new version:
https://www.drupal.org/project/social_login/releases/7.x-2.1
Comment #9
ClaudeSchlesser commentedComment #10
ClaudeSchlesser commented