Can I use Android's AccountManager for getting OAuth access token for AppEngine?

前端 未结 2 1388
遇见更好的自我
遇见更好的自我 2021-02-07 12:43

I have Android client to my AppEngine server, both using Google Accounts. I would like to use AccountManager for getting accessToken for OAuth. So far I\'m using Client

2条回答
  •  自闭症患者
    2021-02-07 13:19

    As of today you can use Google Play Services API on android to do Oauth 2.0 authentication on android. You could then use the method described by @nivco to get the userinfo on appengine. I have not done this yet, but I plan tp do exactly what your talking about.

    https://developers.google.com/android/google-play-services/authentication

提交回复
热议问题