Reply To: Moved: Error

Welcome! Forums Unity Plugins In-App Web Browser Moved: Error Reply To: Moved: Error

#1445
JezPez
Participant

You were correct, I had removed the InAppBrowserViewController.mm Thanks!

I am having another issue now. My browser session ends in a 302 redirect to the apps custom Url Type, when I would like to close the browser and come back to the application. I know this Url works to open the app because, from a link, I am able to launch the app.

But when this In App Browser receives the 302 redirect, I see the following error in the logs in Xcode:

ERROR:Error Domain=WebKitErrorDomain Code=102 “Frame load interrupted” UserInfo={NSErrorFailingURLStringKey=com.jigspace.jigsignupsample://dev-jigspace.auth0.com/ios/com.JigSpace.JigSignupSample/callback?code=QlT1tYAYMyb5aR2&state=itsastate
InAppBrowserBridge:OnBrowserFinishedLoadingWithError(String)

What should I do to close the browser upon receiving a redirect like this?

BTW: I am trying to achieve an OAuth2 interactive flow.