Closed kabirbaidhya closed 1 year ago
Thanks for the question. ory/client
is kept in sync with what is running in the Ory Network. Hydra was not yet updated there, hence why the parameter is not available in the SDK yet.
If you're self-hosting, the SDK will be updated with the next Hydra update. That should be right around the corner. If that's not early enough, you can also build the SDK yourself from the Open API schema in ory/hydra.
We are in the process of updating Hydra in the Ory Network now, but I just realized, that you were talking about a self-hosted Hydra instance with the standalone SDK, which now includes the updates, since last week. Closing this issue.
Preflight checklist
Describe your problem
With https://github.com/ory/hydra/pull/3450 merged, the
revokeOAuth2LoginSessions
API now supports revoking login sessions bysid
but I can see that it's not reflected in the client SDK yet.It still only accepts
subject
and notsid
. https://github.com/ory/sdk/blob/master/clients/client/typescript/api.ts#L14908-L14911When are you planning to release this change in
ory/hydra
and@ory/hydra-client
package?Describe your ideal solution
Update the Client SDK to reflect the recent updates on
ory/hydra
so that it's reflected in@ory/hydra-client
.Workarounds or alternatives
N/A
Version
v2.0.2
Additional Context
No response