![Picture of Manuel Lemos Picture of Manuel Lemos](/picture/user/1.jpg)
Manuel Lemos - 2014-03-26 20:16:25 -
In reply to message 3 from Luke Grenncastle
You can create a sub-class like this:
class my_oauth_client_class extends oauth_client_class
{
Function Redirect($url)
{
echo 'some HTML and possibly some JavaScript to open the popup with '.$url;
}
};
I am not sure how you intend to implement the popup with HTML but keep in mind that many browsers block popup windows these days.
Also, you need to have some logic in your script so when the OAuth server redirects back in the popup, maybe you want to close the popup and continue in the main browser window.