OmniAuth FreshBooks OAuth2
This is the OmniAuth OAuth2 strategy for authentication to FreshBooks.
Installation
Add this line to your application's Gemfile:
gem 'omniauth-freshbooks-oauth2'
And then, you need to add the following to your config/initializers/omniauth.rb
:
Rails.application.config.middleware.use OmniAuth::Builder do
provider :freshbooks, ENV['FRESHBOOKS_KEY'], ENV['FRESHBOOKS_SECRET']
end