Skip to content

Conversation

@masha256
Copy link

@masha256 masha256 commented Sep 4, 2020

Ecwid seems to have made a change at some point in the recent past whereby they now require the 'redirect_uri' parameter to EXACTLY match what is in their app settings - ie, even having query_string parameters is causing a redirect_uri match failed permission issue when generating the access token.

By default, omniauth takes whatever code url arrives and uses that as the 'redirect_uri' parameter when generating the access_token request. With this PR, we now remove any query_string parameters from the redirect_uri before it goes on to the access_token request.

This fixed our problems, maybe it will help someone else...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant