Trying to set up a tunnel for local development bu...
# ory-network
f
Trying to set up a tunnel for local development but all I get is this error message:
Copy code
ory tunnel --dev --project *redacted* \
<http://localhost:4000>
ERRO[2023-08-13T23:09:26+02:00] Unable to create API key. Do you have the required permissions to use the Ory CLI with project `*redacted*`?  audience=application error=map[message:403 Forbidden] service_name=ory/cloud service_version=v0.2.2
Error: unable to create API key for project *redacted*: 403 Forbidden
This is for a project in a brand new account. I have been using the command to set up a tunnel for another account/project without problems for a long time, and now I’m a bit stuck.
The playground works fine:
Copy code
ory tunnel --dev --project playground \
  <http://localhost:4000>
I just tried to create a new project with
ory create project --name "Documentation example"
and then set up a tunnel and it seems to work fine. Is this by design? A bit confusing that you can’t set up a tunnel for the project that is automatically created when the account is set up.
Nevermind I just needed to run
ory auth
before running
ory tunnel