![](/img/trans.png)
[英]request.env[“omniauth.params”] empty during callback phase when using omniauth-stripe-connect
[英]omniauth-stripe-connect refresh_token for test mode
當前使用Rails 4,Omniauth和Omniauth-Stripe-Connect。
我需要刷新令牌為用戶生成測試密鑰,但是在返回的原始數據中找不到哪里嗎? 通過問題/線程/等查看,沒有人提到此問題,甚至沒有任何關於使用帶區卷連接進行測試模式的詳細信息,但這里的帶區文檔中有幾行內容(但不能這樣做,因為缺少了refresh_token):
https://stripe.com/docs/connect/oauth#test-keys-for-livemode-applications
從git repo直接拉出gem 'omniauth-stripe-connect', :git => 'git@github.com:isaacsanders/omniauth-stripe-connect.git'
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.