apache / cordova

Apache Cordova
https://cordova.apache.org/
584 stars 61 forks source link

After SSO login using InAppBrowser plugin, it doesnot persist cookies while returning to app so unable to reload ios app #287

Closed priyankabakkar closed 3 years ago

priyankabakkar commented 3 years ago

Bug Report

Problem

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 for ios.

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 reload our app as jsession cookies are missing. Application not able to load. I guess it is cookies issue, I tried setting manual cookies as well but nothing works out.

What is expected to happen?

After successful SSO login we redirect back to main application by closing inappbrowser. Here we expect to get jsession Id so that our session timeout will not happen and app can able to reload

What does actually happen?

Currently on login we are getting session timeout because of missing cookies

Environment, Platform, Device

Our app is hybrid app and we are facing this issue on IOS platform since aug 2020

timbru31 commented 3 years ago

Duplicate of https://github.com/apache/cordova-ios/issues/1110