romaninsh/opauth — pull request #1 by ahirmayur (2013-11-28 09:40:31+00:00)
Title: Add support for custom script call from inherited Opauth controller

custom Controller_Opauth can return a result with an array to force a particular callback with a script (JS) echo.

e.g.
class Controller_Opauth extends romaninsh\opauth\Controller_Opauth {

.
.

function callback($data, $opauth) {
.
.
$result = array(
'force_callback' => true,
'custom_script' => ''
);

return $result;
}

.
.
}