尝试添加新租户时出现 403 错误

Getting 403 error when trying to add new tenant

我向 WSO2IS 添加了一个服务提供者并使用它的秘密来获取访问令牌,然后我使用这个访问令牌来执行端点 https://localhost:9443/t/carbon.super/api/server/v1/tenants ,但我收到 403 错误。访问令牌是针对管理员用户的,据我所知,它拥有所有权限。为什么我会收到禁止的错误,我该如何解决?

按照 . If you generated the token without passing the required scopes (In your case internal_list_tenants), you will get 403 Forbidden response from the REST API call. More info (3)

中的步骤操作