Repository is archived
No commit activity in last 3 years
No release in over 3 years
OmniAuth OAuth2 Strategy for MoneyForward Invoice.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.10
~> 10.0
>= 0

Runtime

 Project Readme

OmniAuth::MoneyForward::Invoice

OmniAuth OAuth2 strategy for MF Cloud Invoice (MFクラウド請求書) API

Installation

Add this line to your application's Gemfile:

gem 'omniauth-moneyforward-invoice'

And then execute:

$ bundle

Usage

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :moneyforward_invoice, ENV['MF_INVOICE_CLIENT_ID'], ENV['MF_INVOICE_CLIENT_SECRET'], scope: 'write'
end

'scope' option is optional. You can specify/overwite scope option by including it in authorization request as query parameter.

License

The gem is available as open source under the terms of the MIT License.