Closed xiaofei-du closed 2 years ago
Thank you for the report - that looks like a bug in Ory Hydra!
Thank you for the report - that looks like a bug in Ory Hydra!
Thanks for your quick reply. May I ask if this will be fixed soon? so I can decide whether to wait or not include this in my code.
It will be fixed at some point! Contributions welcomed :)
Just saw that this has been fixed in https://github.com/ory/hydra/issues/2869#issue-1061139829 by nice people 👍 !
Preflight checklist
Describe the bug
Hi, I am using the Golang SDK
hydra-client-go v1.10.6
, when I update a client's name, the client secret is also updated.Expected result: Only the client name is updated.
Actual result: Both the client name and client secret are updated.
Reproducing the bug
My code:
The returned
r.Payload.ClientSecret
is not empty, and is updated to a random string like$2a$10$5hcxpBVqwgcSfm05Oxbr2uHflURwD.AUcICYmRwPTXRlSgqoCs33q
.I read the document saying
But still not sure if I am doing something wrong here. Did I accidentally pass the
client_secret
?Relevant log output
No response
Relevant configuration
No response
Version
Golang SDK hydra-client-go v1.10.6
On which operating system are you observing this issue?
macOS
In which environment are you deploying?
No response
Additional Context
No response