google-oauth - 将 Actions on Google 的访问权限仅限于 G-Suite 帐户的成员
问题描述
我正在为我们自己的公司使用(我们是 G-Suite 客户)创建一个关于 Google 的操作。
如何将操作的访问权限限制为仅登录到其公司 G-Suite 帐户的用户?
在帐户链接区域下,我可以添加 Google 登录功能,但我不想允许任何拥有 Google 帐户的人访问,只允许与我的 G-Suite 域关联的人访问。
我认为我可以在 POST webhook 上执行此服务器端,如果他们不是公司 G-Suite 用户,则不返回结果,但我宁愿在此之前停止链。
解决方案
There is no explicit setting to limit invocation to a certain group. If it's public, then anyone can invoke it. You could use sign-in to limit who has access to the core of your Action, but that's the only way you could do it.
推荐阅读
- python - 从一组单词中找到最长圆序列的函数
- react-redux - Redux 连接的 React 组件在调用 GET api 请求之前不会更新
- python - 在 pandas df 的索引位置插入值
- javascript - 避免 rowcallback 数据表中的列
- powershell - powershell - 过滤包含列表数据的嵌套对象
- assembly - 计算段的基地址 (Intel 8086)
- arrays - 如何将整数转换为字符串并放入C中的数组
- gdb - 从在共享对象中崩溃的交叉编译的可执行文件加载核心转储
- c# - 将数组从模型传递到控制器以与控制器中的数组进行比较
- javascript - Javascript没有隐藏最后一张图片上的按钮