App crash only on iOS after successful WebAuthenticator callback via Universal App Link. #26814
Labels
area-essentials
Essentials: Device, Display, Connectivity, Secure Storage, Sensors, App Info
t/bug
Something isn't working
Description
I'm migrating a .NET MAUI iOS authorization flow from one that handles redirect using the now-deprecated custom URL scheme to one that employs an Universal App Link verified via a apple-app-site-association file hosted on Firebase.
The callback works. The code is received successfully. The issue is that the app crashes upon returning from the WebAuthenticator authorization flow. This is a problem with iOS only, not Android which works perfectly using an Android App Link served by a assetlinks.json file on the same server.
Steps to Reproduce
jsonPayload
can be inspected, to confirm that the code has been successfully returned using the Universal App Link as the redirect URL.Value of
jsonPayload
indicates successContinueUserActivity
for exceptions. I can set a breakpoint on return result. The crash occurs if this method is allowed to run from that point.Other details on verifying the integrity of the Universal App Link are (at least for now) available here: https://stackoverflow.com/q/79306670/5438626.
Workload list
Link to public reproduction project repository
No response
Version with bug
Unknown/Other
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
iOS
Affected platform versions
iPhone11 iOS 18.2
Did you find any workaround?
By reverting to a custom URI scheme, using an 'installed' credential for iOS, I can successfully connect to Google Drive.
Relevant log output
The text was updated successfully, but these errors were encountered: