Preflight checklist
Ory Network Project
No response
Describe the bug
Running ory use workspace xxxx doesn't work but the docs indicate that this should work to set a default workspace. ory use project xxxx does work
I'm on the latest version
❯ ory version
Version: v1.1.0
Git Hash: 7144ce89b2f84b0894cc0a154c6692b3ec78f8a1
Build Time: 2024-11-14T13:14:48Z
There is a workaround and that's using each command with the --workspace flag.
Reproducing the bug
- Install latest CLI
ory use workspace
Relevant log output
❯ ory use workspace xxxx
Use a resource
Usage:
ory use [command]
Available Commands:
project Set the project as the default. When no id is provided, prints the currently used default project.
Flags:
-c, --config string Path to the Ory Network configuration file.
--format string Set the output format. One of default, json, yaml, json-pretty, jsonpath and jsonpointer. (default "default")
-h, --help help for use
-q, --quiet Be quiet with output printing.
-y, --yes Confirm all dialogs with yes.
Use "ory use [command] --help" for more information about a command.
❯ ory auth
ID <OMITTED>
EMAIL <OMITTED>
SELECTED PROJECT <OMITTED>
SELECTED WORKSPACE <none>
Relevant configuration
Version
1.1.0
On which operating system are you observing this issue?
macOS
In which environment are you deploying?
None
Additional Context
No response
Preflight checklist
Ory Network Project
No response
Describe the bug
Running
ory use workspace xxxxdoesn't work but the docs indicate that this should work to set a default workspace.ory use project xxxxdoes workI'm on the latest version
There is a workaround and that's using each command with the --workspace flag.
Reproducing the bug
ory use workspaceRelevant log output
❯ ory use workspace xxxx Use a resource Usage: ory use [command] Available Commands: project Set the project as the default. When no id is provided, prints the currently used default project. Flags: -c, --config string Path to the Ory Network configuration file. --format string Set the output format. One of default, json, yaml, json-pretty, jsonpath and jsonpointer. (default "default") -h, --help help for use -q, --quiet Be quiet with output printing. -y, --yes Confirm all dialogs with yes. Use "ory use [command] --help" for more information about a command. ❯ ory auth ID <OMITTED> EMAIL <OMITTED> SELECTED PROJECT <OMITTED> SELECTED WORKSPACE <none>Relevant configuration
Version
1.1.0
On which operating system are you observing this issue?
macOS
In which environment are you deploying?
None
Additional Context
No response