Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple client secrets and secret rotation #3443

Closed
6 tasks done
sagarshah1983 opened this issue Feb 15, 2023 · 1 comment
Closed
6 tasks done

Support multiple client secrets and secret rotation #3443

sagarshah1983 opened this issue Feb 15, 2023 · 1 comment
Labels
feat New feature or request.

Comments

@sagarshah1983
Copy link
Contributor

Preflight checklist

Describe your problem

From security standpoint, we generally see a use-case where we may have to rotate client secret (regularly), but this brings in an impact to the client and force the client to start using new secret to avoid errors or downtime for their users.

In single sentence, I am proposing for a feature that can allow OIDC to authenticate client using new as well as old secret (for some time at least) giving enough time to the client to rotate password/secret used during authentication/authorization workflows.

I don't think, if we want to have a policy managing the rotation (that defines the timeframe for rotating secrets) also managed from within Hydra. That can still be managed outside of hydra.

Describe your ideal solution

Ideal Solution would be to

  • Support client authentication with new as well old secret.
  • Old secret can be still considered valid for some timeframe (preferably configurable at client level).
  • Retire old secret on demand using Admin API

Workarounds or alternatives

Only option we have now is to notify the client that they need to enforce the password/secret change and implement that in their app

Version

1.10.5

Additional Context

This feature has been requested based on this original ticket #3005.

@sagarshah1983 sagarshah1983 added the feat New feature or request. label Feb 15, 2023
@zepatrik
Copy link
Member

zepatrik commented Sep 6, 2023

Closing as duplicate of #1712

@zepatrik zepatrik closed this as completed Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request.
Projects
None yet
Development

No branches or pull requests

2 participants