简体   繁体   中英

How to access protected database in Actions on Google using Google Sign in?

我有一个Firestore数据库,我想在Google App上的操作中访问它。问题是我已经实现了帐户链接,但是我不知道如何使用它的用户ID来验证用户访问Firestore的权限。仅向经过身份验证的Google用户提供阅读权限。我是这个平台的全新用户,谁能帮助我?

即使从客户端角度将数据库规则标记为安全的,您也可以使用Firebase Admin SDK来访问和操作数据库中的所有数据。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM