最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

android - How to get a Google Id Token without requesting access to the user's personal details? - Stack Overflow

programmeradmin4浏览0评论

I'm using the Credential Manager to request a Google Id Token in an Android app. It works fine but the bottom-sheet that appears asks the user if they are ok sharing their name, profile picture, and email with the app.

I don't want any of those personal details, I just need the Google Id Token to be able to say if a future login corresponds to the same user.

Is there a way to avoid asking for that information?

I'm using the Credential Manager to request a Google Id Token in an Android app. It works fine but the bottom-sheet that appears asks the user if they are ok sharing their name, profile picture, and email with the app.

I don't want any of those personal details, I just need the Google Id Token to be able to say if a future login corresponds to the same user.

Is there a way to avoid asking for that information?

Share asked Mar 9 at 19:55 MontanerMontaner 5445 silver badges17 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

Currently, the following scopes are automatically included there and there is no way to request a subset through Credential Manager: openid, email, profile; seems what you want is just the openid scope but that is currently not possible.

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论