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

Development

~> 1.3
>= 0
>= 0

Runtime

 Project Readme

OmniAuth FreshBooks

Gem Version Build Status Code Climate Dependency Status Coverage Status

This is the OmniAuth strategy for authentication to FreshBooks.

Installation

Add this line to your application's Gemfile:

gem 'omniauth-freshbooks'

And then, you need to add the following to your config/initializers/omniauth.rb:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :freshbooks, "consumer_key", "consumer_secret" 
end

You will obviously have to put in your key and secret, which you get when you register as a consumer with FreshBooks.

Options

The options are:

  • site The FreshBooks root URI for this site. This can also be passed as a query string parameter although if one specified in your initializer, it will always take precedence. Example: https://sample.freshbooks.com