isaacsanders / omniauth-stripe-connect

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

"Test OAuth Flow" from Stripe Management Panel doesn't work #23

Closed isparling closed 9 years ago

isparling commented 9 years ago

Isaac -

I'm trying to integrate Stripe Connect into my Spree-based ecommerce store (pretty standard user auth built on Omniauth/Devise).

I'm trying to test the flow from Stripe's Account (https://dashboard.stripe.com/account/applications/settings) - hitting "Test The OAuth Flow" and I consistently get this error:

{
"error": "invalid_grant",
"error_description": "This authorization code has already been used. All tokens issued with this code have been revoked."
}

Gist of my implementation of the readme: https://gist.github.com/isparling/77c31164eb3c375adb34

Is there a known issue with testing the flow from Stripe's management panel? How would you suggest I test the flow against my dev machine?

Thanks,

Isaac

richrines commented 9 years ago

@isparling this helped me solve the issue http://stackoverflow.com/questions/21425737/gem-omniauth-stripe-connect-authentication-failure-invalid-credentials-inval

isaacsanders commented 9 years ago

Is this still an issue?