Chrome browser crashes after using ASWebAuthenticationSession

We're seeing Chrome browser crashing after using ASWebAuthenticationSession to authenticate. While the authentication succeeds, all the user's browser tabs are terminated and upon re-opening Chrome, it shows a popup message: "Chrome didn’t shut down correctly".

System logs indicates that Chrome crashed (core dumped) with a Security Exception with macOS error code -67052.

I have seen a similar issue with my released application. When a user starts an ASWebAuthenticationSession Chrome does not fulfill the authentication session at all. It does not even open the website that it should open.

I think ASWebAuthentication should default to Safari just to make sure that it works

Likewise, in my Catalyst app the ASWebAuthenticationSession starts but fails to open the default browser unless it's Safari.

Chrome browser crashes after using ASWebAuthenticationSession
 
 
Q