Google Cloud的身份验证(文档AI)

发布于 2025-02-04 02:41:32 字数 464 浏览 5 评论 0 原文

首先,请友善,因为我不是开发人员,并且可能会遇到一些基本概念。

我正在尝试使用Integromat / make.com(Not-code Platform)和Google Cloud Services构建AI发票阅读器,以在电子表格中收集发票数据。 通常,我在Integromat中需要的集成或使用简单的REST调用。

使用文档AI,AFAIK我必须使用Oauth。我有我的“处理器”,以及Integromat的客户ID和客户端秘密。我现在缺少的是:

  • 授权uri uri
  • uri

我一直在搜索有一段时间,但是对于非dev来说,这是令人困惑的。在哪里可以找到需要两个URL?

非常感谢您的帮助!

First off, please be kind, as I'm not a developer and may struggle with some basics concepts.

I'm trying to build an AI Invoice reader to collect invoice data in a spreadsheet, using Integromat / make.com (no-code platform) and Google Cloud Services.
Usually, there are integrations for what I need in Integromat or I use simple REST calls.

With the Document AI, afaik I have to use OAuth. I have my "processor" and the Client ID and Client secret for Integromat. What I'm now missing are:

  • Authorize URI
  • Token URI

I've been searching the Google Cloud documentation for a while, but for a non-dev it's quite confusing. Where can I find the two URLs needed?

Thank you very much for your help! ????

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

暖阳 2025-02-11 02:41:33

对于身份验证,您可以创建一个服务帐户和密钥连接到Google Cloud Services。您可以阅读在开始之前创建服务帐户,并分配权限。

不熟悉Integomat的工作原理,但是您可能可以使用类似的过程与集成有效。

For authentication, you can create a Service Account and key to connect to Google Cloud Services. You can read the before you begin guide which covers how to create the service account, and assign permissions.

Not familiar with how Integromat works, but you can probably use a similar process to how Google Cloud Storage integrations work.

独享拥抱 2025-02-11 02:41:33

我找到了OAuth2授权的缺少资源:

"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"scope":  "https://www.googleapis.com/auth/cloud-platform"

但是,这样,我必须重新认证现在的每一个蚂蚁 - 我不知道为什么。

资料来源:

https://developers.google.com/inentity/prototocols/ oauth2/web-server#httprest_1
https://developers.google.com/indistity/inderity/protocols/protocols/oauth2/copes

而且,正如Holt Skinner已经提到的那样,Google Docs写了使用服务帐户。不幸的是,我不知道如何在Integromat/make.com中使用服务帐户。 (我的挑战是插入JSON KEYFILE)。

I found the missing resources for OAuth2 authorization:

"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"scope":  "https://www.googleapis.com/auth/cloud-platform"

But with this, I have to re-authenticate every now ant then - I don't know why.

Source:

https://developers.google.com/identity/protocols/oauth2/web-server#httprest_1
https://developers.google.com/identity/protocols/oauth2/scopes

And, as Holt Skinner already mentioned, the Google Docs writes to use a Service Account. Unfortunately, I don't know how to use a Service Account in Integromat/make.com. (My challenge is to insert the JSON keyfile).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文