Hacker News new | ask | show | jobs
by ew 5128 days ago
The redirect url from the oauth process (which basically every third party has) is simply a page of ours with close(); inside some javascript tags. Since we opened the window programatically we can close it.

In the front end I just poll every few seconds for the oauth completion and the server says "yup I'm done" or "they're still working on it" :)