I have implemented the Auth0 webview in my native iOS application, and it mostly works as expected except for some issues with the WebView not being dismissed as expected.
There are two cases I’m interested in:
Scenario 1:
- Launch the Auth0 WebView with the parameter specified for signing in with Apple
- Once the native “Auth0” OS prompt appears, select “Continue”.
- Once the native “Apple ID” OS prompt appears, select the “close” button.
This scenario should close the Auth0 WebView, but instead the blank WebView remains until the user taps the “Cancel” button on the WebView.
Scenario 2:
- Launch the Auth0 WebView with the parameter specified for signing in with Apple
- Once the native “Auth0” OS prompt appears, select “Continue”.
- Before the native “Apple ID” OS prompt appears, select “cancel” on the WebView.
This scenario should dismiss the WebView and cancel the process. The WebView is dismissed, but the native “Apple ID” OS prompt will still appear anyway, which is incorrect.
I’d like to know if these are issues within the Auth0 iOS SDK or if there’s some workaround I can use to fix these natively. Thank you for your time.