isaacsanders / omniauth-stripe-connect

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

Invalid Redirect Url...when using production client id #18

Closed iftikhar0005 closed 10 years ago

iftikhar0005 commented 10 years ago

hi there, i just ran into bug when deploying my app to heroku. I used the production client_id and keys but still getting this error.

* { "error": "invalid_redirect_uri", "error_description": "Invalid redirect URI 'http://localhost:3000/users/auth/stripe_connect/callback'. Ensure this uri exactly matches one of the uris specified in your application settings", "state": "fdadb291ff0e520fed7606630e7e7af64ade41ceaa95579f" }

*

What i have under my applications production settings redirect_url is "https://www.mydomain.com/usermodels/auth/stripe_connect/callback"

Will you please help me out. Thank you