prehistoric-knife-48976
08/05/2024, 6:36 AMory:
image: oryd/ory
ports:
- 4000:4000
secrets:
- ory_tunnel_key
entrypoint: ''
command: >
sh -c "
export ORY_API_KEY=$(cat /run/secrets/ory_tunnel_key) &&
ory tunnel --project slug-here --allowed-cors-origins <https://localhost:3000> <https://localhost:3001>"
steep-lamp-91158
prehistoric-knife-48976
08/05/2024, 1:50 PMprehistoric-knife-48976
08/05/2024, 2:34 PMunable to list projects: {"error":{"code":401,"status":"Unauthorized","request":"27001e0a-3ef8-9c82-b28c-4ad42c81a8f5","message":"Access credentials are invalid"}}
: 401 Unauthorized
This is the command that’s doing that:
ory tunnel <http://localhost:4000> --dev --project my-slug
I’ve tried setting the api keys as both the ORY_WORKSPACE_API_KEY and ORY_PROJECT_API_KEY, but both produce the same result. I’ve looked through the docs but haven’t found any solutionsteep-lamp-91158
--workspace <id>
flagprehistoric-knife-48976
08/05/2024, 2:38 PMprehistoric-knife-48976
08/05/2024, 2:39 PMsteep-lamp-91158
ory_pt
is probably a typo in the docssteep-lamp-91158
steep-lamp-91158
prehistoric-knife-48976
08/05/2024, 2:41 PMprehistoric-knife-48976
08/05/2024, 2:42 PMsteep-lamp-91158