FreshBooks strategy for OmniAuth
MIT License
This is the OmniAuth strategy for authentication to FreshBooks.
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.
The options are:
https://sample.freshbooks.com