Skip to content
This repository has been archived by the owner on Jul 21, 2020. It is now read-only.

dgvz/omniauth-phabricator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Omniauth::Phabricator

Installation

Add this line to your application's Gemfile:

gem 'omniauth-phabricator', :github => 'dgvz/omniauth-phabricator', :tag => 'v0.1.0'

And then execute:

$ bundle

Usage

Rack

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

Contributing

  1. Fork it ( https://github.com/[my-github-username]/omniauth-phabricator/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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages