Active
Project:
Drake :: Drupal-CakePHP bridge
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2008 at 14:12 UTC
Updated:
23 Jan 2008 at 14:12 UTC
Trying to do an authenticated Flickr API call from Drake. It requires a redirect to Flickr for authentication, then a callback to a set URL. The callback is locked out from Drupal with an "access denied" error - I think it is even before it gets to Drake.
The callback link goes to "/drake?run=/flickr/sets", but I think it is missing the context or Drupal $_SESSION data to get back into Drupal and/or Drake.
function drake_dispatcher() {
...
$content = $cakeDispatcher->get($parameters['url']);
// <--- BECAUSE OF THE Flickr REDIRECT/CALLBACKS, I NEVER GET BACK TO THIS POINT
_drake_dispatcher_finalize();
...
}
Does anyone have an idea how to solve this problem?