sfMelodyPlugin icon indicating copy to clipboard operation
sfMelodyPlugin copied to clipboard

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

Open savannahbeckett opened this issue 14 years ago • 4 comments

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 avatar Oct 26 '10 23:10 savannahbeckett

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

savannahbeckett avatar Oct 27 '10 01:10 savannahbeckett

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

savannahbeckett avatar Oct 27 '10 16:10 savannahbeckett

Any idea?

savannahbeckett avatar Oct 29 '10 06:10 savannahbeckett

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 ;-)

chok avatar Oct 30 '10 14:10 chok