We have an android app where we want to open a url.To avoid user re entering user name and password, we want to pass the session cookies. We can use webview inside our app to do this but we want to avoid webviews.
Another solution we found is using chrome custom tabs. As per the documentation https://developer.chrome.com/multidevice/android/customtabs chrome custom tabs supports:
Shared Cookie Jar and permissions model so users don't have to log in to sites they are already connected to, or re-grant permissions they have already granted.
I am trying the example from https://github.com/GoogleChrome/custom-tabs-client But i am not able to figure out how to pass the session data.
Can anyone help me by pointing to documentation or way to achieve this ?