Support for client secret rotation #3005
Replies: 4 comments 6 replies
-
Hello @sagarshah1983 🧇 |
Beta Was this translation helpful? Give feedback.
-
Just chiming in to say that I'd also like to see this feature. I'm seeing two options:
As for 2, I'd imagine you'd have the option to add up to two client secrets for a client and remove any one of them at any time. This is how Okta handles it: https://developer.okta.com/docs/guides/client-secret-rotation-key/main/#rotate-a-client-secret |
Beta Was this translation helpful? Give feedback.
-
Given fosite supports client secret rotation (ory/fosite#608), this seems technically possible in hydra. |
Beta Was this translation helpful? Give feedback.
-
That doesn't solve the original problem presented in this discussion, as it requires downtime while the two systems (Hydra and the RP) are being updated independently. |
Beta Was this translation helpful? Give feedback.
-
Apple Health Integration requires OAuth Client secret to be rotated at regular intervals for security. During this rotation timeframe, old and new secret both should be functional for some time. At some point (configurable), old client secrets would stop working and only new client secret would work thereafter until secrets get rotated again.
On rotation, clients should be able to refresh token with and old and new password (while both are valid).
Is this something that can be supported in Ory Hydra?
Beta Was this translation helpful? Give feedback.
All reactions