Cloud Endpoints Portal requires GCP / IAM permissions, otherwise the user gets No APIs are available that you have permission to view

huangapple go评论115阅读模式
英文:

Cloud Endpoints Portal requires GCP / IAM permissions, otherwise the user gets No APIs are available that you have permission to view

问题

我在我的App Engine项目中实现了Cloud Endpoints Framework,并且我想从已弃用的API Explorer迁移到新的Endpoints Portal。

问题是,与旧的API Explorer不同,Endpoints Portal对每个人都不可访问。当一个没有访问GCP项目权限的用户尝试访问该门户时,会显示:
> 没有可供您查看的权限的API

是否有办法使Cloud Endpoints Portal公开,并让每个端点管理身份验证部分?

英文:

I have Cloud Endpoints Framework implemented in my App Engine project, and I'd like to migrate from the deprecated API Explorer to the new Endpoints Portal.

The thing is, unlike the old API Explorer, the Endpoints Portal is not accessible to everybody. When a user that has no access to the GCP project tries to access the portal, he gets:
> No APIs are available that you have permission to view

Cloud Endpoints Portal requires GCP / IAM permissions, otherwise the user gets No APIs are available that you have permission to view

Is there a way to make the cloud endpoints portal public, and let each endpoints manage the authentication part?

答案1

得分: 1

访问终端门户不能公开。

您可以在此链接上找到关于这个主题的完整讨论。

讨论中还提出了一个可能的解决方案:

> 与此同时,另一个选项是您可以使用Google群组进行身份验证 --- 也就是说,您可以将Google群组添加为“服务使用者”,然后该群组的每个成员都可以查看API + 门户。

但是,如果您想要的是完全公开的访问,不仅限于您的客户/用户,这个解决方案并不是最佳选择,您应该选择另一个解决方案。

SwaggerUI 可能是一个出色的解决方案:它是根据您的OpenAPI文档自动生成的,任何用户都可以访问。

英文:

Access to the Endpoints Portal cannot be made public.

You can find a complete discussion on this topic at this link.

A possible solution is also proposed in the discussion:

> One other option in the meantime is that you could use Google groups for authentication --- that is, you can add a Google group as "Service Consumer", and then every member of that group can view the API + portal.

But if what you want is to make access completely public, not only to your customers / users, this solution is not the best, you should opt for another one.

SwaggerUI could be an excellent solution: it’s automatically generated from your OpenAPI document and it's accessible to any user.

huangapple
  • 本文由 发表于 2020年3月4日 10:16:59
  • 转载请务必保留本文链接:https://go.coder-hub.com/60518187.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定