sidekick-feedback icon indicating copy to clipboard operation
sidekick-feedback copied to clipboard

Feature request: Integration with Android's AccountManager for Oauth2.0 login with Google APIs

Open tsonevn opened this issue 7 years ago • 3 comments

From @suparnavg on June 13, 2018 9:4

Currently, the Enterprise Authentication service in Sidekick is geared toward the client ID, client secret model. However, for Oauth2.0 login on the android platform, Google lets an app use the Android AccountManger.

Also, in the google console, if I create a new set of Android credentials for my existing web app, the auth credentials are in this form: image

Would be cool if there was a way to do Enterprise auth using the Android AccountManager (for enterprises running on Google's G-Suite platform, for e.g.)

Copied from original issue: NativeScript/nativescript-angular#1381

tsonevn avatar Jun 14 '18 05:06 tsonevn

Hello @suparnavg,

Apologies for the delayed response and thank you for submitting this feature request. The Enterprise Authentication service integrated in Sidekick is part of Kinvey and I had to discuss your feature request with our colleagues to be certain that my answer is complete and I haven't missed anything.

You are correct and currently, Kinvey (and thus Sidekick) does not offer a way to implement a login via the Android Account Manager. My colleagues from Kinvey confirmed that they do not have this feature planned in their roadmap. While they were not able to give me a definitive answer if and when such feature might be implemented, they will research it further and determine if it has its place in their roadmap.

ggarabedian avatar Jun 20 '18 07:06 ggarabedian

Thanks @ggarabedian! (though very belated 😃). I'm sure this feature would be appreciated by Android developers!

suparnavg avatar Oct 15 '18 12:10 suparnavg

In any case, do you think the Kinvey team could update their Enterprise Auth documentation (this page) to include the Google OAuth2.0 flow? Google's latest documentation to do this is provided here

suparnavg avatar Oct 15 '18 12:10 suparnavg