php - Communicating between a page and a popup oauth page -
i have application has button opens blank page linkedin oauthentication.
my question is, when user completes authentication , processing linkedin, how tell original page process complete?
i thinking creating ajax method tells database user in oauth , when complete tell same database process on , original page find out.
any ideas?
see: how can oauth request open new window, instead of redirect user current page?
the trick window.opener
property, available popup. using simple reload window.opener.location.reload()
or possibly more complicated using postmessage
(in either case code live in page oauth redirects on completion).
Comments
Post a Comment