No commit activity in last 3 years
No release in over 3 years
OmniAuth strategy for DNAnexus
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 13.0
~> 3.9
~> 0.18
~> 1.1
~> 3.8

Runtime

 Project Readme

OmniAuth::DNAnexus

Follow @MikeRogers on Twitter Gem Version CI Passing

OmniAuth strategy for DNAnexus

Installation

$ bundle add omniauth-dnanexus

Usage

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :dnanexus, ENV["DNANEXUS_CLIENT_ID"], ENV["DNANEXUS_CLIENT_SECRET"], {
    dnanexus_api_endpoint: "https://api.dnanexus.com",
    client_options: {
      site: "https://auth.dnanexus.com",
      authorize_url: "/oauth2/authorize",
      token_url: "/oauth2/token"
    }
  }
end

DNAnexus Staging

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :dnanexus, ENV["DNANEXUS_CLIENT_ID"], ENV["DNANEXUS_CLIENT_SECRET"], {
    dnanexus_api_endpoint: "https://stagingapi.dnanexus.com",
    client_options: {
      site: "https://stagingauth.dnanexus.com"
    }
  }
end

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/MikeRogers0/omniauth-dnanexus

License

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