AppAuth-iOS icon indicating copy to clipboard operation
AppAuth-iOS copied to clipboard

Salesforce B2c Commerce IDP

Open Bob-MYMC opened this issue 3 years ago • 0 comments

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 image

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.

Bob-MYMC avatar Jan 12 '23 04:01 Bob-MYMC