A Doximity OAuth2 Strategy for OmniAuth
Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/omniauth
spec
.gitignore
.rspec
.travis.yml
Gemfile
LICENSE.txt
README.md
Rakefile
omniauth-doximity_oauth2.gemspec

README.md

Omniauth::DoximityOauth2

A Doximity OAuth2 Strategy for OmniAuth

Doximity API Information at http://developer.doximity.com/oauth.html

Continuous Integration Status

Build Status

Installation

Add this line to your application's Gemfile:

gem 'omniauth-doximity_oauth2'

And then execute:

$ bundle

Or install it yourself as:

$ gem install omniauth-doximity_oauth2

Usage

  1. Request OAuth Application Credentials from the Doximity team: http://developer.doximity.com/preferred/
  2. Enable the Strategy
# Rails
Rails.application.config.middleware.use OmniAuth::Builder do
  provider :doximity,
           ENV['DOXIMITY_OAUTH_CLIENT_ID'],
           ENV['DOXIMITY_OAUTH_CLIENT_SECRET']
end

Contributing

  1. Fork it ( https://github.com/indiebrain/omniauth-doximity_oauth2/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request