don't throw away creation time on protected resource update (oops)
parent
6df68fc97a
commit
a97f3e2d65
|
@ -290,6 +290,8 @@ public class ProtectedResourceRegistrationEndpoint {
|
||||||
// a client can't ask to update its own client secret to any particular value
|
// a client can't ask to update its own client secret to any particular value
|
||||||
newClient.setClientSecret(oldClient.getClientSecret());
|
newClient.setClientSecret(oldClient.getClientSecret());
|
||||||
|
|
||||||
|
newClient.setCreatedAt(oldClient.getCreatedAt());
|
||||||
|
|
||||||
// no grant types are allowed
|
// no grant types are allowed
|
||||||
newClient.setGrantTypes(new HashSet<String>());
|
newClient.setGrantTypes(new HashSet<String>());
|
||||||
newClient.setResponseTypes(new HashSet<String>());
|
newClient.setResponseTypes(new HashSet<String>());
|
||||||
|
|
Loading…
Reference in New Issue