wgc grpc-service create fails with 'not authenticated'
Component(s)
cli
Component version
0.93.0
wgc version
0.93.0
controlplane version
cloud
router version
n/a
What happened?
I am trying to create a subgraph for grpc-service.
this is the command line: wgc grpc-service create --routing-url dns://localhost:4011 'name'
I get the following error: ✖ Failed to create grpc subgraph. Not authenticated
the cli tool is authenticated properly, as I can create other type of subgraphs, list and delete without any issues.
i also tried the publish flag with the same results.
Environment information
Router configuration
Router execution config
Log output
Additional context
No response
WunderGraph commits fully to Open Source and we want to make sure that we can help you as fast as possible. The roadmap is driven by our customers and we have to prioritize issues that are important to them. You can influence the priority by becoming a customer. Please contact us here.
Hi @Sarmaad Thanks for reporting. We will take a look
I suspect you're having the same problem I had when only using the wgc auth login to authenticate with the CLI. However, you also need to set a COSMO_API_KEY in your terminal using the command export COSMO_API_KEY=cosmo_XXXX. You can generate the API key in the Cosmo Router dashboard. @Noroth, this behaviour of the CLI is a bit confusing.