SSO functional logic not working in cordova IOS app

We have hybrid app developed using cordova. Our app is “SwiftEnterprise” available on apple store.
We have functionality of SSO login which we are achieving using InAppBrowser plugin. Earlier it was working fine but from Aug 2020 it stopped working.

We are able to login to SSO url, using InAppBrowser plugin but after login we were redirecting to our main app. Issue is, now we are not able to redirect to our app. Application not able to load. I guess it is cookies issue, I tried setting manual cookies as well but nothing works out.

Please suggest some solution on this issue as our app stopped working because of this.