Search code examples
cordovagoogle-apiinappbrowser

Cordova inAppBrowse - instantly login user


Im using inappbrowser to authorize users to Google API (retrieve a token).

When I open inappbrowser with oauth url there is login to Google account form.

In default Android browser user is already signed in,
and what i'm trying to do is to load user session into inappbrowser to not force him to type his credentials again.

Is it possible?


Solution

  • Why not just authentic directly through the mobile with this plugin ? It would work more intuitively and more easily with Android phones especially. (Plugin works for iOS as well). Using InAppBrowser for authentications seems strange and maybe risky.

    The plugin would also allow you to perform OAuth.