chok / sfMelodyPlugin

Allow to communicate with many services(google, yahoo...) throw OAuth
MIT License
45 stars 21 forks source link

Callback doesn't work if I set it in Connect function #13

Open savannahbeckett opened 14 years ago

savannahbeckett commented 14 years ago

If I remove the callback in app.yml and do this in code, it doesn't work, why? Browser just stuck there waiting for something after I hit "grant access". $this->getUser()->connect ('google', array('callback' => 'http://www.yahoo.com'), true);

I need to set the callback in code because I need to set the callback url parameters.

savannahbeckett commented 14 years ago

btw, it works perfectly if I set the callback in app.yml

savannahbeckett commented 14 years ago

but I still want to set the callback in the connect function, not in the app.yml

savannahbeckett commented 14 years ago

Any idea?

chok commented 14 years ago

Sorry for the wait !

You're right there is a problem with configuration. I'll try to fix that as soon as possible. Or feel free to contribute ;-)