Project

General

Profile

Plugins Directory » redmine_omniauth_gitlab

Author: apple wu
Website: https://github.com/applewu/redmine_omniauth_gitlab
Code repository: https://github.com/applewu/redmine_omniauth_gitlab.git
Registered on: 2017-09-07 (over 6 years ago)
Current version: 0.0.1
Compatible with: Redmine 4.1.x, 4.0.x, 3.4.x, 3.3.x
User ratings:   (3)

This plugin is used to authenticate Redmine users using gitlab's OAuth2 provider.

Authentication Workflow

  1. An unauthenticated user requests the URL to your Redmine instance.
  2. User clicks the "Login via gitlab" buton.
  3. The plugin redirects them to a gitlab sign in page if they are not already signed in to their gitlab account.
  4. gitlab redirects user back to Redmine, where the gitlab OAuth plugin's controller takes over.

One of the following cases will occur:

If self-registration is enabled (Under Administration > Settings > Authentication), user is redirected to 'my/page'
Otherwse, the an account is created for the user (referencing their gitlab OAuth2 ID). A Redmine administrator must activate the account for it to work.

Changelog

0.0.1 (2016-10-16)

Compatible with Redmine 4.1.x, 4.0.x, 3.4.x, 3.3.x.

User ratings

  by Nicolas Metters 5 months ago

Works for Redmine 5.0.5 / Gitlab v16.5.1

In Gitlab:
Scope: API
Callback URL: [RedmineURL]/oauth2callback

In Redmine plugin:
Your Gitlab Website URL: [GitlabURL]
Oauth authentification tickbox active

  by Neal Joslin about 4 years ago

Made an account just to give you 5. Worked perfectly..

few notes for anyone..
CallBack: http://URL/redmine/oauth2callback

In Gitlab, names need to be "first last" cause it splits them if there's just first, it won't work as good as redmine requir

  by Olga Zakharova about 5 years ago

It does not work for me.