Giter VIP home page Giter VIP logo

redmine_omniauth_client's Introduction

Redmine omniauth ROR

This plugin is used to authenticate Redmine users using an OAuth2 provider.

Installation:

Download the plugin and install required gems:

cd /path/to/redmine/plugins
git clone https://github.com/arlin2050/redmine_omniauth_client.git
cd /path/to/redmine
bundle install

Restart the app

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

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 OAuth Client plugin"
  • Configure all fields.
  • Check the box near "Enable OAuth authentication"
  • Click Apply.

Users can now to use their account to log into your instance of Redmine.

Additionaly

  • Setup value Autologin in Settings on tab Authentification

Authentication Workflow

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

One of the following cases will occur:

  1. If self-registration is disabled (Under Administration > Settings > Authentication) but force_account_creation option is checked, the account is created and user is redirected to 'my/page'.
  2. Otherwise, self-registration method is used to register users.

TODO

  • Access webservices in other formats than json.
  • Fonctionnal tests

redmine_omniauth_client's People

Contributors

gotva avatar arlin2050 avatar serge-xxx avatar mxmader avatar prattmic avatar

Stargazers

Murat M avatar Harald Welte avatar Dadi Luo avatar Michel Tomas avatar Sonic Gao avatar FrankWOO avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.