Closed grantzvolsky closed 1 year ago
Hello contributors!
I am marking this issue as stale as it has not received any engagement from the community or maintainers for a year. That does not imply that the issue has no merit! If you feel strongly about this issue
Throughout its lifetime, Ory has received over 10.000 issues and PRs. To sustain that growth, we need to prioritize and focus on issues that are important to the community. A good indication of importance, and thus priority, is activity on a topic.
Unfortunately, burnout has become a topic of concern amongst open-source projects.
It can lead to severe personal and health issues as well as opening catastrophic attack vectors.
The motivation for this automation is to help prioritize issues in the backlog and not ignore, reject, or belittle anyone.
If this issue was marked as stale erroneously you can exempt it by adding the backlog
label, assigning someone, or setting a milestone for it.
Thank you for your understanding and to anyone who participated in the conversation! And as written above, please do participate in the conversation if this topic is important to you!
Thank you 🙏✌️
Preflight checklist
Describe your problem
Foreign keys referencing the hydra_client table currently use the OutfacingID (column name
id
) rather than the primary key (column namepk
). The OutfacingID is deprecated (see https://github.com/ory/hydra/issues/2781) and redundant.Describe your ideal solution
client_id
in the client POST endpoint. IDs are generated by Hydra without the option to be configured.Allow querying with the old IDs by exposing the necessary endpoints as a v1 API.[edit: the API needs to be backward compatible, so this is not an option]Flow
to useEager().Find()
.This solution can be implemented by hashing the legacy IDs and encoding them as UUIDv4.[edit]: The question of how to support the legacy identifiers remains unresolved.
Workarounds or alternatives
A slightly different approach is not to expose a v1 API, but instead to always query for either
id
orhash(id)
.Version
v2.x
Additional Context
No response