cordova - With modernizing-oauth-interactions, can googleplus sign in auth token be used in google realtime apis? -
background question --> modernizing oauth interactions in native apps better usability , security
in mobile app using inappbrowser, oauth requests restricted can use google plus sign in , use auth token in rtcclient js apis??
there alternatives suggested in blog itself
to migrate, offer libraries , samples follow modern best practices can use:
- google sign-in android , ios, our recommended sdk sign-in , oauth google accounts.
- appauth android, ios, , os x, open source oauth client library can used google , other oauth providers. offer gtmappauth (for ios , os x), library enables appauth support google apis client library objective-c, , gtm session fetcher projects.
- google sign-in , oauth examples windows, examples demonstrating how use browser authenticate google users in various windows environments such universal windows platform (uwp), console , desktop apps.
first alternative basic apis can used in android , ios apps did not investigate on second , third alternative
based on first alternative, there plugin available cordova apps, cordova-plugin-googleplus, provides basic login, logout features. on ios, provides refreshtoken , accesstoken directly after login on android, fetching refreshtoken , accesstoken not supported in plugin
Comments
Post a Comment