我正在使用 Omniauth Stripe-Connect gem,我想添加一个范围,但文档没有涵盖这一点。这是我现在正在尝试的,但不包括scope
and参数:stripe-landing
Rails.application.config.middleware.use OmniAuth::Builder do
provider :stripe_connect, ENV['STRIPE_CONNECT_CLIENT_ID'], ENV['STRIPE_SECRET'], { :scope => 'read_write', :stripe_landing => 'register' }
end
宝石/策略: https ://github.com/isaacsanders/omniauth-stripe-connect