The discussion is about an issue with Single Sign-On (SSO) in Firefox, where the browser adds an == before the &sig parameter in the SSO URL. Vaping_Community is using a PHP script and shared the code, which michaeld suggested should use urlencode() to encode the base64 string.
After reviewing the code, michaeld couldn’t find any obvious issues that would cause the problem. Vaping_Community explained that the login seems to work, but the user menu doesn’t show up after login in Firefox, and only a refresh reveals the correct navigation items. michaeld thinks that the issue might not be related to the == in the URL and that the problem might be cookie-related.
Vaping_Community plans to continue investigating and will report back when a solution is found.
*SETS COOKIE DOES OTHER MISC STUFF LIKE USER CHECKS*
*FINISHES WITH THIS*
if(isset($_SESSION['url']))
$url = $_SESSION['url'];
else
$url = "";
$miscf = new miscf();
$fullurl = $miscf->fullURL().$url;
header("Location:".$fullurl);
unset($_SESSION['url']);
die();
Well, I’m glad you asked, it seems to login ok but then when back on the site, it doesn’t show the user menu, it just shows the login button again under the User nav link.
I’m starting to wonder if it is cookie related but it works fine in Chrome, it’s almost as if the “logged in” check is being ignore on initial page load, a refresh reveals all the user navigation items for a logged in user, I want to stress that it only happens in Firefox