Hi, Everyone,
I’m new to IC development, writing a simple demo to authenticate with Internet Identity.
I finally get the demo working, with one problem unsolved, If the user closed the identity.ic0.app window accidentally, how can I know it?
I didn’t find a clue from the document of @dfinity/auth-client.
Thanks a lot. I already registered an onError callback, no error is raised.
I’ll give a try to the cross window communication, and make a PR if I can have a sound solution.