Trello OAuth callback

Along with the recent wildcard url change there seems to another change with how the token is sent back from Trello.

We have a ruby app and we use the omniauth gem for all our OAuth integrations. The callback URL goes to our backend which saves the access token to the DB for our users integration. After fixing the wildcard url issue we found that users are not getting redirected anymore. After reading through the documentation it seems we need to add a response_type but neither fragment nor postMessage are going to work for us. Fragments are not sent to the server so we can’t get the token.

How can we get the token returned in URL params like before?