Project

General

Profile

Plugins Directory » Redmine Omniauth uLogin

Author: Alexey Marochkin
Website: https://github.com/mrscylla/redmine_omniauth_uLogin
Code repository: https://github.com/mrscylla/redmine_omniauth_uLogin
Registered on: 2014-08-29 (over 9 years ago)
Current version: 0.0.1
Compatible with: Redmine 2.5.x, 2.4.x, 2.3.x, 2.2.x, 2.1.x
User ratings:   (2)

This is fork of the redmine_omniauth_google plugin rebuilded for uLogin multiprovider.

Installation notes

Redmine uLogin auth

This plugin is used to authenticate Redmine users using uLogin`s (http://uLogin.ru) multi provider.

Installation:

Download the plugin and install required gems:

cd /path/to/redmine/plugins
git clone https://github.com/mrscylla/redmine_omniauth_ulogin.git
cd /path/to/redmine
bundle install
Restart the app

touch /path/to/redmine/tmp/restart.txt
Registration

To authenticate via uLogin you must first register your redmine instance via the uLogin profile page.

Save the uLogin ID for the configuration of the Redmine plugin (see below)

Configuration

Login as a user with administrative privileges.
In top menu select "Administration".
Click "Plugins"
In plugins list, click "Configure" in the row for "Redmine Omniauth uLogin plugin"
Enter the uLogin ID shown when you registered your application via uLogin profile.
Check the box near "Oauth authentication"
Click Apply.
Users can now to use their social accounts to log in to your instance of Redmine.

Additionaly

Setup value Autologin in Settings on tab Authentification
Other options

By default, all user email domains are allowed to authenticate through uLogin. If you want to limit the user email domains allowed to use the plugin, list one per line in the "Allowed domains" text box.

For example:

onedomain.com
otherdomain.com
With the above configuration, only users with email addresses on the domains "onedomain.com" and "otherdomain.com" will be allowed to acccess your Redmine instance using uLogin.

Authentication Workflow

An unauthenticated user requests the URL to your Redmine instance.
User clicks the social buton in "Login with" area.
The plugin redirects them to a social sign in page if they are not already signed in to their social account.
uLogin redirects user back to Redmine, where the uLogin OAuth plugin's controller takes over.
One of the following cases will occur: 1. If self-registration is enabled (Under Administration > Settings > Authentication), user is redirected to 'my/page' 2. Otherwse, the an account is created for the user (referencing their social ID). A Redmine administrator must activate the account for it to work.

Changelog

0.0.1 (2014-08-29)

Compatible with Redmine 2.5.x, 2.4.x, 2.3.x, 2.2.x, 2.1.x.

User ratings

  by Aleksandr Gorlov about 9 years ago

> I was redirected to the following url: http://do.psiconsul.ru/...
Solution here - http://trianglesis.org.ua/tag/ulogin
Find "do.psiconsul.ru" in plugin source code and change it to your Redmine URL

  by trianglesis trianglesis over 9 years ago

I was redirected to the following url:
http://do.psiconsul.ru/oauth2callback/?authenticity_token=
What it this site?
redmine/plugins/redmine_omniauth_ulogin/app/views/hooks/_view_account_login_bottom.html.erb