Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

TrustedPlus/id.ruby

Open more actions menu

Repository files navigation

Omniauth IdTrustedPlus

The OmniAuth strategy for authenticating to https://trusted.plus/id.

Installation

Add this line to your application's Gemfile:

gem 'omniauth-idTrustedPlus', git: 'https://github.com/TrustedPlus/id.ruby.git'

And then execute:

$ bundle

Usage

Rails

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :idTrustedPlus, ENV['IDTrustedPlus_APP_ID'], ENV['IDTrustedPlus_APP_SECRET']
end

Gitlab

    gitlab_rails['omniauth_enabled'] = true 
    gitlab_rails['omniauth_allow_single_sign_on'] = ['idTrustedPlus']
    gitlab_rails['omniauth_block_auto_created_users'] = false

    gitlab_rails['omniauth_providers'] = [
    {
        "name" => "idTrustedPlus",
        "app_id" => "your_client_id",
        "app_secret" => "your_client_secret",
        'args' => {
            scope: 'userprofile',
        }              
    }
]

License

The gem is available as open source under the terms of the MIT License.

About

The OmniAuth strategy for authenticating to https://trusted.plus/id

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.