The OmniAuth strategy for authenticating to https://trusted.plus/id.
Add this line to your application's Gemfile:
gem'omniauth-idTrustedPlus',git: 'https://github.com/TrustedPlus/id.ruby.git'And then execute:
$ bundle Rails.application.config.middleware.useOmniAuth::Builderdoprovider:idTrustedPlus,ENV['IDTrustedPlus_APP_ID'],ENV['IDTrustedPlus_APP_SECRET']endgitlab_rails['omniauth_enabled']=truegitlab_rails['omniauth_allow_single_sign_on']=['idTrustedPlus']gitlab_rails['omniauth_block_auto_created_users']=falsegitlab_rails['omniauth_providers']=[{"name"=>"idTrustedPlus","app_id"=>"your_client_id","app_secret"=>"your_client_secret",'args'=>{scope: 'userprofile',}}]The gem is available as open source under the terms of the MIT License.