Offloading the process to the background.

Simply because the popup is closing and thus unregisters the identity callback.
The auth never succeeds that way.