This Plugin enables Users of an OpenProject installation to authenticate using the XignIn App.
Gemfile.plugins
File:group :opf_plugins do
gem "openproject-xignin", :path => 'path/to/openproject-xignin'
end
If the group :opf_plugins do
block already exists just add the gem line into it.bundle install
in your OpenProject directory.rake db:migrate
to apply the migrations.Gemfile.modules
file add: gem 'openproject-xignin', path: 'modules/openproject-xignin'
to the group group :opf_plugins
.Gemfile.lock
, which now contains the openproject-xignin
dependencies (Instead you can also add RUN bundle install
without any parameters right before the already existing
bundle install...
in the docker setup script, to implicitly create the new Gemfile.lock
).Gemfile.lock
.You can reach the Settings by going to Administration -> Authentication -> Xignin
The easiest way to configure the Settings is to simply upload the JSON Config File you can Download
from the Xign Manager. After uploading the File all you need to do is to configure the correct Redirect Url
which
should look like this: https://your-domain/xignin/callback
. Make sure that you have exactly the same
Redirect Url
configured in the XignIn-Manager.
Now that the Settings are configured everything should be up and running. When logged out, click on Sign in
and select
XignIn. You should be redirected to a page with a QR-Code. Simply scan that QR-Code with the XignIn App and a new Account
should be created or you should be logged in with your existing Account.