Skip to content

Support for clients' secret rotation #590

@simonbrynych

Description

@simonbrynych

Is your feature request related to a problem? Please describe.

Currently it's not possible to simultaneously rotate secrets of individual clients.

Describe the solution you'd like

That would be great to set two passwords while both of them are valid in that time. That allows user to smoothly rotate secret without any outage.

&fosite.DefaultClient{
  ID:           ID,
  Secret:       [originalSecret, newSecret],
  RedirectURIs:  redirectURIs,
  ResponseTypes: responses,
  GrantTypes:    grants,
  Scopes:        scopes,
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions