I'm following up from an old existing post per the recommendation by DTS Engineer
I'm referencing that comment specifically because i'm only able to reproduce this issue when using a device through browserstack. (a service that allows remote access to physical ios devices for testing, etc) I haven't been able to reproduce the issue on my physical device.
When attempting to launch an ASWebAuthenticationSession using callback: .https(host: path:), The session immediately fails (before even presenting the web modal) with the error:
Error Domain=com.apple.AuthenticationServices.WebAuthenticationSession Code=1
NSLocalizedFailureReason=Application with identifier com.builderTREND.btMobileAppAdHoc is not associated with domain test.buildertrend.net. Using HTTPS callbacks requires Associated Domains using the
webcredentialsservice type for test.buildertrend.net.
Which doesn't make sense, since our AASA file does specify that url and has the app ID listed in webcredentials
Our app's entitlements file also contains webcredentials:*.buildertrend.net
So it seems like everything is set up properly, but this issue is persistent.