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

lordofmax :

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

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

Luyi :

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.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=24419&siteId=1