Mastering Redmine

Mastering Redmine is a comprehensive guide with tips, tricks and best practices, and an easy-to-learn structure.

Check the book project on this site and/or

Buy the book

By buying this book you will also be donating to Redmine (see this page).


OpenID fix plugin for Redmine/ChiliProject

If you try to login into "clean" Redmine/ChiliProject using Google OpenID you will get the registration form. This happens because Redmine requires some user fields which do not get retrieved during OpenID authentication.

The OpenID fix plugin patches Redmine / ChiliProject OpenID authentication to make it work with Google OpenID.

You should not require any user custom field! Otherwise Redmine/ChiliProject will still ask for registration.

I’m also ready to support other OpenID providers.

Plugin configuration

The plugin allows to specify a different value for the Self-registration option, which can be found in Administration → Settings → Authentication. This can be done in Administration → Plugins → OpenID Fix → Configure:

Settings of the plugin

By default the plugin uses:

  • "manual account activation", if this value is specified for the Self-registration option in Administration → Settings → Authentication;
  • "automatic account activation", otherwise.

This was done for backwards compatibility.

To use the system value, which is specified in Administration → Settings → Authentication, choose "(No change)" in the plugin settings.

Requirements

In order to use this plugin you must enable "Allow OpenID login and registration" in Administration → Settings → Authentication.

Install

Install the plugin:

  • Copy openid_fix directory to #{RAILS_ROOT}/vendor/plugins.
  • Restart Redmine/ChiliProject.

OpenIDSettings.png - Settings of the plugin (12.5 KB) Andriy Lesyuk, 09 Feb 2013 22:47