OIDC dynamic client registration validity
Cantor, Scott
cantor.2 at osu.edu
Tue Mar 1 01:50:12 UTC 2022
> 1. When a client's registration is older than the defaultRegistrationValidity, does the IdP remove it from the
> database?
The JPA storage back-end doesn't have any automatic purge of records. Anything past expiration is just invisible to the API.
> 2. Same question for the client secret validity period. What happens when the client secret is older than the
> client secret validity time?
I think the way that works is to register a JWK URI rather than keys directly if you want to rotate them.
> 3. Can anyone suggest a reason why I'd have clients in my database that have been there for months or
> years that haven't expired?
I guess it depends what the policy was when they registered, but it just stores the records with whatever expiration is set by the configuration, at least it does right now. Perhaps it was different in some way in the older versions.
> 4. Most importantly, how does a client "renew" their registration or update the secret to keep their client
> from dropping out? Or do they simply need to re-register each time it expires?
I don't believe the spec defines an interoperable approach to that and a second attempt would probably return a different client_id. There's no protocol to really update what's there unless we invent something.
-- Scott
More information about the users
mailing list