WebAuthentication.webViewProvider doesn't work prior to iOS 17.4

We are using WebKit to authenticate our users but have tested on previous versions like iOS 16’s and 17.2 where authentication always fails with an unexpected failure and “Could not signal service com.apple.WebKit.WebContent: 113: Could not find specified service”. Is there a work around we have to do for this?

More detailed error after the final step for the custom scheme callback shows “Redirection to URL with a scheme that is not HTTP(S)”