ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Autologin does not work (Bug #821)


Added by Vladislav Poluhin at 2012-01-09 11:24 am. Updated at 2012-06-14 01:24 pm.


Status:Open Start date:2012-01-09
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:User accounts
Target version:-
Remote issue URL: Affected version:2.6.0

Description

I have to be authorized each time I open the browser. Despite autologin checked at the authorization page.


History

Updated by Holger Just at 2012-01-18 05:38 pm

Currently, the autologin feature allows only one browser to autologin. If you use the feature on multiple brosers, it will fail when you switch browsers. Also, you need to preserve static cookies during browser restarts. Some browsers delete all cookies during restart which will defeat the autologin feature.

Could you please verify both points?

Updated by Holger Just at 2012-01-18 05:38 pm

  • Status changed from Open to Needs more information

Updated by Holger Just at 2012-01-18 05:44 pm

Oh, and as a test, could you try to comment the three autologin settings in your configuration.yml so it looks like this (notice the hash comments):

# default configuration options for all environments
default:
  # [...]

  # autologin_cookie_name:
  # autologin_cookie_path:
  # autologin_cookie_secure:

Updated by Vladislav Poluhin at 2012-01-19 03:41 pm

Currently, the autologin feature allows only one browser to autologin. If you use the feature on multiple brosers, it will fail when you switch browsers.

  1. Open in browser http://dev.u-mind.ru
  2. Auth as demo:password with checked autologin
  3. Host set cookies:
    1. (without name) expires in 2013 year
    2. _chiliproject_session expires after Session
  4. Close browser
  5. Open browser again
  6. I'm at login page

Updated by Vladislav Poluhin at 2012-01-19 03:45 pm

Besides the same is with your host https://www.chiliproject.org

Updated by Vladislav Poluhin at 2012-01-19 03:54 pm

This is solves problem:

default:
  autologin_cookie_name: "autologin" 

But there is a question: why this value is equal to "" in configuration on default?

Updated by Vladislav Poluhin at 2012-01-21 05:19 am

Please make it impossible to use the empty cookie names at the code.

Updated by Vladislav Poluhin at 2012-04-11 08:24 am

Bug still exists at 3.1.

Updated by Ilya Turkin at 2012-06-14 01:24 pm

Holger Just wrote:

Oh, and as a test, could you try to comment the three autologin settings in your configuration.yml so it looks like this (notice the hash comments):

[...]

Yes, it is.

The same issue with this site.

  • Status changed from Needs more information to Open

Also available in: Atom PDF