iOS 15.5 ASWebAuthenticationSession not handling associated domain

We use ASWebAuthenticationSession to authenticate users in our app, and we so far relied on an associated domain (universal link) for the last redirection step (callback), instead of a custom scheme, for security reasons.

It works fine on iOS <= 15.4.1 (current release at time of writing), but we noticed that the associated domain is no longer detected during the callback on iOS 15.5 (beta 4).

As a result, the user ends up on our web app within the ASWebAuthenticationSession view, and the app authentication never finishes.

Is anybody experiencing the same issue?

Thanks.

The issue seems to unrelated to iOS 15.5, but due to a recent change in our backend which made us lost our domain registration (the apple-app-site-association verification was failing due to a redirect, which is forbidden). It was just a coincidence that our first device that dropped the association was the one running iOS 15.5.

iOS 15.5 RC is out, and the problem is still there. This is a big issue for us. Basically, it seems that ASWebAuthenticationSession and SFSafariViewController no longer detect associated domains URLs if those are triggered by a redirection.

iOS 15.5 ASWebAuthenticationSession not handling associated domain
 
 
Q