When using cloud hydra, has the `--access-token` f...
# ory-network
v
When using cloud hydra, has the
--access-token
flag been deprecated (The PAT token)? I'm trying to create a client, and both the guide and the docs indicate that it exists
a
Hi @victorious-controller-5388, you can definitely use the PAT. Is this the Ory CLI?
v
Hi, I thin kyes, it's the Hydra CLI installed thru scoop https://www.ory.sh/docs/hydra/install
a
Please try using the -H option with the PAT as a Bearer token.
s
We're currently working on bringing the Hydra cli commands to the Ory CLI which would be the preferred way
v
Re: Based on Grant's advice: Preferred way of doing this is by cURL, working example:
curl -X POST <https://projectname.oryapis.com/admin/clients> -H 'Authorization: bearer ory_pat_redacted' --data '{}'
worked without a hiccup