isaacsanders / omniauth-stripe-connect

Stripe Connect OAuth2 Strategy for OmniAuth 1.0
MIT License
130 stars 74 forks source link

Pass params through to callback #36

Closed joryhatton closed 9 years ago

joryhatton commented 9 years ago

I need to pass a param in the initial authorization url that will get passed through to the callback. Right now, I am simply hijacking the status param, as it gets returned by default in the callback url. Any advice on how to achieve this?

joryhatton commented 9 years ago

As a side note, I am getting nothing back in request.env["omniauth.origin"] or request.env["omniauth.params"].

isaacsanders commented 9 years ago

check out the state param in v2.9.0.

joryhatton commented 9 years ago

I ended up switching to Managed Stripe accounts instead of Standalone via Connect. Closing this for now. Thanks.