updated_at default 0

pull/4/head
shengzhaoli.shengz 1 year ago
parent 3ce6f9ca95
commit e2a5b51e96

@ -74,7 +74,7 @@ public class ClaimsOAuth2TokenCustomizer implements OAuth2TokenCustomizer<JwtEnc
if (scopes.contains(OidcScopes.PROFILE)) { if (scopes.contains(OidcScopes.PROFILE)) {
String attrVal = nullUser ? null : user.nickname(); String attrVal = nullUser ? null : user.nickname();
claims.claim("nickname", attrVal == null ? "" : attrVal); claims.claim("nickname", attrVal == null ? "" : attrVal);
claims.claim("updated_at", ""); claims.claim("updated_at", 0);
} }
} }
} }

Loading…
Cancel
Save