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?