PermissionDenied when trying to get a user using Zitadel dotnet SDK
Hi, I'm using Zitadel dotnet SDK to get a user, I used the PersonalAccessToken method as shown in the example, I gave the service user IAM Owner permission in the instance as well as Organization Owner in ZITADEL org, however I always get this error when calling the Method:
Grpc.Core.RpcException: Status(StatusCode="PermissionDenied", Detail="Bad gRPC response. HTTP status code: 403")1 Reply
For more context, I'm using Zitadel via Nginx reverse proxy with external tls, here is my conf file:
I've also verified that the website is using http2 protocol via devtools it shows
h2
I found the solution, It was cloudflare that was blocking the grpc connection, I had to enable it in Network > enable Grpc, in cloudflare dashboard