ASWebAuthenticationSession + Universal Links Callback Issue

Problem Description:

In our App, When we launch the web login part using ASWebAuthentication + Universal Links with callback scheme as "https", we are not receiving callback.

Note:

  1. We are using "SwiftUIWebAuthentication" Swift Package Manager to display page in ASWebAuth.
  2. But when we use custom url scheme instead of Universal link, app able to receive call back every time.
  3. We use ".onOpenURL" to receive universal link callback scheme.

Do universal links work in your app in general? If you create a Notes document with one of your links and tap the link there, does it open in your app?

For lots of general advice on how to debug universal links, see TN3155 Debugging universal links

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

  • The URL loaded as part of ASWebAuthentication is not redirecting back into our application with Universal Link option, however it works perfectly with CustomURL scheme.
  • Universal Link in combination with ASWebAuth is the issue and area of the concern.
  • Does Universal Link and ASWebAuth combination to get the redirection is known issue in Apple ?

Thank you.

ASWebAuthenticationSession + Universal Links Callback Issue
 
 
Q