php - Hybridauth in a new Window -


i've switched hybridauth on cakephp-site offer users social-logins.

right now, main window loads social-page , redirects site.

i'm wondering, if there way authentication in new window:

user clicks on login button (main window)  -> new window opens social-login page  -> users loggs in  -> window closes -> main window refreshes logged in user 

any idea how done?

thanks in advance!

i know question old, looking answer myself. found in "widget_authentication" example included hybridauth.

look in index.php file inside widget folder. if don't want use widget, can still see how author opened either new window or intermediate plus new window, depending on provider.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -