|
|
@ -11,7 +11,7 @@ This plugin depends on the OpenProject Plugins Plugin, so insert it into your `G |
|
|
|
## Usage |
|
|
|
## Usage |
|
|
|
|
|
|
|
|
|
|
|
You can use this plugin to make an authentication plugin out of an ordinary OpenProject plugin. |
|
|
|
You can use this plugin to make an authentication plugin out of an ordinary OpenProject plugin. |
|
|
|
The first step is to generate a new plugin using the Plugins plugin. |
|
|
|
The first step is to [generate a new plugin](https://github.com/opf/openproject-plugins#generator) using the Plugins plugin. |
|
|
|
Once you have done that it only takes a few additions to make it an authentication plugin. |
|
|
|
Once you have done that it only takes a few additions to make it an authentication plugin. |
|
|
|
Find your Engine class in `engine.rb`, let it extend `OpenProject::Plugin::AuthPlugin` and register the providers you want to use. |
|
|
|
Find your Engine class in `engine.rb`, let it extend `OpenProject::Plugin::AuthPlugin` and register the providers you want to use. |
|
|
|
|
|
|
|
|
|
|
|