Add this line to your application's Gemfile:
gem 'omniauth-phabricator', :github => 'dgvz/omniauth-phabricator', :tag => 'v0.1.0'
And then execute:
$ bundle
require "omniauth/phabricator"
class MyRackApp
use OmniAuth::Builder do
provider :phabricator, "<My-Phabricator-Client-Id>", "<My-Phabricator-Client-Secret>",
:client_options => {:site => 'https://phabricator.example.com', :authorize_url => 'https://phabricator.example.com/oauthserver/auth/'}
end
end
- Fork it ( https://github.com/[my-github-username]/omniauth-phabricator/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