Omniauth::DoximityOauth2
A Doximity OAuth2 Strategy for OmniAuth
Doximity API Information at http://developer.doximity.com/oauth.html
Continuous Integration 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
- Request OAuth Application Credentials from the Doximity team: http://developer.doximity.com/preferred/
- 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
- Fork it ( https://github.com/indiebrain/omniauth-doximity_oauth2/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request