SSO login - user default settings only

Issue #352 resolved
Urs Frei created an issue

Hi We are happy with piler (0.1.25-rc2) and authentication over AD / SSO. Our little problem is with IE10 or 11 after SSO login the user get the default settings always and it's not possible to make any changes either.
Btw: Firefox with SSO no any problem. User setting changes with IE10 or 11 after AD authentication (login.php - email address) working well too.

Comments (3)

  1. Janos SUTO repo owner

    Can you show me the SESSION array after logging in via AD, then SSO with both IE10/11 and Firefox? To do this edit index.php, and add the following line to index.php:

    print_r($_SESSION);

    right after "require(DIR_SYSTEM . "/startup.php");"

  2. Janos SUTO repo owner

    Thanks for the output. Please try the following: edit controller/login/sso.php and add the following line

    $this->model_user_prefs->get_user_preferences($session->get('username'));
    

    before this line:

    header("Location: " . SITE_URL . "search.php");
    

    And let's see if you have pagelen, lang and theme entries in the session variables when logging in using sso. If so, then try adjusting these settings and check if this fix solved the problem.

  3. Janos SUTO repo owner

    I've just managed to add a workaround. It's a bug in both IE and Outlook that they send empty POST data when authenticating. The problem is that they do this even if the webserver actually doesn't require authentication. Please download the latest master branch, and update the gui.

  4. Log in to comment