inAppBrowser does not retain cache information and asks me to login again after redirection, how do I avoid that?
Check if you turn on yes on clearcache:
According to the documentation: https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-inappbrowser/
Clearcache: set to yes to have the browser's cookie cache cleared before the new window is opened. You should be good once you turn that off.