AppAuth-iOS
AppAuth-iOS copied to clipboard
Salesforce B2c Commerce IDP
Describe the bug I am trying to use the lib react-native-app-auth for Salesforce B2c Commerce IDP integration.
After being authorised by the provider, the SFSafariViewController is not closed and returns the authorization response. Instead, it navigates to the redirect URL.
Neither application:openURL:options: nor application:continueUserActivity:restorationHandler is called, hence resumeExternalUserAgentFlowWithURL: is not invoked.
However, it works well with the external browser safari.
Screenshots

Environment
- Device: iPhone 14 Pro
- OS: iOS 16.2
Additional context The original issue was filed against react-native-app-auth, but it is more likely the native lib issue.