I think there is a bug in your ory cli, when runni...
# feedback
s
I think there is a bug in your ory cli, when running
ory list projects
only one of my three projects shows up, but when running
ory list projects --workspace <workspace-id>
all three projects show up. Same when running
ory tunnel
, I have to provide the
--workspace <workspace-id>
option, otherwise it doesn't find the other two projects. (Yes, all three projects are in the same workspace).
s
When you provide no workspace it shows all legacy projects that are not in a workspace.
So expected behavior, but maybe we'll add a disclaimer.
s
All my projects are in a workspace.
s
Which one shows up when you don't provide the workspace? It has to be outside of a workspace. Or do you use API keys to authenticate the CLI?
s
I have three in one workspace, they represent the same project, just one is production, the other staging and the third one development. When I don't provide the workspace-id then only production shows up. Staging and development doesn't.
s
ok I see, in this case you probably created (or were added to) the project before it was in a workspace, but then it was moved to a workspace? I see how this could be confusing, we'll consider changing the behavior or add some clarifications
thanks for reporting
s
I created the workspace myself and created the projects in the workspace from the very beginning. I didn't have this problem before, all projects used to be listed without typing in the workspace-id. This problem must have started with a ory cli update.
s
Yes we have restructured some functionality there, but before workspace projects would not show up at all.