Hi there. We have a 1.x server. Homebrew now insta...
# talk-hydra
r
Hi there. We have a 1.x server. Homebrew now installs the 2.0 CLI. What's the new incantation for this command? Resulting config still needs to work with 1.x:
Copy code
hydra clients create \
  --id {v4 UUID} \
  --name "{human readable ID}" \
  --endpoint {endpoint}
I got as far as
Copy code
hydra create oauth2-client \
  --name "{human readable ID}" \
  --endpoint {endpoint}
But am not sure what to use in place of
--id
.
Or do I no longer need it?
n
you can no longer specify the id yourself in v2 - https://www.ory.sh/oauth2-server-openid-ory-hydra-v2/#primary-keys
r
Okay, thanks.
Copy code
Not Found
The requested route does not exist. Make sure you are using the right path, domain, and port.
this error should never be printed
I assume the path has changed and the 2.x CLI can't call a 1.x server, yes? Maybe I need a 1.x client? Anyone know the
brew install
incarnation for that?
s
that's the problem with brew, no versioning...
you can just download the binary from github releases
r
gonna try
docker run oryd/hydra:v1
That worked. Thanks!