Open simonrenoult opened 8 years ago
This is discussed as part of another issue, but I can't recall which. There is a bug with the flags that deal with array properties. In addition to fixing that, I think we need to add a --json
flag so you can just pass in whatever you want.
I guess it's related to #75, #70, #52 and #55
Thanks for looking those up.
Hi @simonrenoult I suspect that the problem is with this redirect uri: http://localhost:8082/app/. Anvil's client validation ensures that no redirect uris can have a hostname of 'localhost' or a protocol of 'http' for the implicit grant type if the server is in production mode.
Hi there,
We're trying to automate the initialization of our AnvilConnect setup thus using the CLI quite intensively but have stumbled upon a few problems.
This is the code of the client we're trying to register:
This lead to a
Validation Error
. Since the error is not detailed, we logged the error in the connect-cli Clients API and this is the result:Nothing seems wrong to me but I might be missing something... Or is the CLI error message wrong?
Since the CLI was failing, we asked the API using
POST /v1/clients
with the data and the correct access token:But still got a
Validation error
.Any idea or suggestion?