Upon checking social media codes, I found out:
social_login.module: $request_port = ((!empty($_SERVER['SERVER_PORT']) AND $_SERVER['SERVER_PORT'] <> '80') ? (":" . $_SERVER['SERVER_PORT']) : '');
social_login.module: $redirect_to = $request_protocol . $_SERVER['SERVER_NAME'] . $request_port . $request_uri;
Pantheon has a server/infrastructure value for $_SERVER["SERVER_NAME"] and $_SERVER['SERVER_PORT'] . Since the redirect is going elsewhere. So you need to put this code at the bottom of your settings.php
$_SERVER['SERVER_NAME'] = $_SERVER['HTTP_HOST'];
if (isset($_SERVER['PANTHEON_ENVIRONMENT'])) {
if (isset($_SERVER['HTTP_X_SSL']) && $_SERVER['HTTP_X_SSL'] != 'ON') {
$_SERVER['SERVER_PORT'] = 443;
}
else {
$_SERVER['SERVER_PORT'] = 80;
}
}
Please sign in to your OneAll account to ask a new question or to contribute to the discussions.
Please click on the link below to connect to the forum with your OneAll account.
Answers
could you please post a link to your website so that I can reproduce and test the error?
Regards,
Euro lock systems are known for their durability, precision, and high security, making them ideal for residential and commercial properties. They offer reliable protection against unauthorized access and can be integrated with various door types for enhanced safety. Does it work with Pantheon.io? While Euro locks focus on physical security, Pantheon.io manages digital platforms, so compatibility depends on smart lock integrations or IoT-enabled solutions that bridge physical and digital security effectively.