opensky/GigyaBundle — pull request #4 by rndstr (2011-11-21 16:23:48+00:00)
Title: only pass `redirect_uri` param to gigya if specified

The [`socialize.getToken`](http://developers.gigya.com/037_API_reference/025_OAuth2_End_Points/socialize.getToken) method requires the same `redirect_uri` as the [`socialize.login`](http://developers.gigya.com/030_Gigya_Socialize_API_2.0/030_API_reference/010_Client_API_\(JavaScript\)/Social_service/socialize.login) (called `redirectURL` there).

Since we handle the login response with JS in our project, we need to omit the `redirectURL`. I added the check for `gigya.redirect_route` and if it isn't set it also isn't sent to Gigya. (an empty url is not accepted by Gigya).