posted 9 years ago
Detail:
OAuth2
1) user click on a button (sign in with google+, for example), new popupWindow shows with (google+) auth form or permissions confirm form.
2) user click OK, then (google+) redirects on my webapp controller like (mysite.org/glogin). Popup window closes after that redirect (i can see redirect url to controller for a second) - HOW?! #1
3) controller takes parameters and gets user info from google.
4) (!) after success client side updates without reloading page, just some congratulations and functionality. HOW?! #2. I can send long request from client side to mysite.org/glogin or other controller to wait for a some event. But I know, that there is a wrong way.