简体   繁体   English

omn​​iauth-stripe-connect refresh_token用于测试模式

[英]omniauth-stripe-connect refresh_token for test mode

Currently using Rails 4, Omniauth, and Omniauth-Stripe-Connect. 当前使用Rails 4,Omniauth和Omniauth-Stripe-Connect。

I need the refresh token to generate test keys for users but it's no where to be found in the raw data that's returned? 我需要刷新令牌为用户生成测试密钥,但是在返回的原始数据中找不到哪里吗? Looked through issues/threads/etc no one mentions this issue or even any details on doing test mode with stripe connect beyond the couple lines in stripe docs here (but can't do this because refresh_token is missing): 通过问题/线程/等查看,没有人提到此问题,甚至没有任何关于使用带区卷连接进行测试模式的详细信息,但这里的带区文档中有几行内容(但不能这样做,因为缺少了refresh_token):

https://stripe.com/docs/connect/oauth#test-keys-for-livemode-applications 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.

相关问题 在使用omniauth-stripe-connect的回调阶段,request.env [“ omniauth.params”]为空 - request.env[“omniauth.params”] empty during callback phase when using omniauth-stripe-connect gem'omniauth-stripe-connect' - 身份验证失败,invalid_credentials,invalid_grant - gem 'omniauth-stripe-connect'-Authentication failure, invalid_credentials, invalid_grant Rails Devise + omniauth-stripe-connect“授权代码不属于您” - Rails Devise + omniauth-stripe-connect “Authorization code does not belong to you” 无法使用Devise,Rails 4从Omniauth身份验证策略中检索access_token,refresh_token - Can't retrieve access_token, refresh_token from Omniauth authentication strategy with Devise, Rails 4 如何使用omniauth google oauth2获取rails app的'refresh_token'? - How do I get back a 'refresh_token' for rails app with omniauth google oauth2? 未定义的局部变量'refresh_token' - undefined local variable 'refresh_token' 带有Salesforce的Ruby OAuth没有得到refresh_token - Ruby OAuth with Salesforce not getting refresh_token googleapi“oauth2/v4/token”没有返回“refresh_token” - googleapi "oauth2/v4/token" is not returning "refresh_token" 使用OmniAuth刷新令牌访问Google DFP API - Accessing the Google DFP API with a OmniAuth refresh token 在到期前使​​用omniauth刷新LinkedIn令牌 - Refresh LinkedIn token with omniauth before expiration
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM