Turns out we still do have a problem with iOS 15.5 (beta 4). We fix the associated domain issue, it works work well from outside and inside the app on iOS 15.4, but on iOS 15.5 it only works from the outside, not within ASWebAuthenticationSession or SFSafariViewController.