fix: Fix OAuth2 client secret showing up in UI (#33281)

/ok-to-test tags="@tag.Sanity"
This commit is contained in:
Shrikant Sharat Kandula 2024-05-08 15:47:47 +05:30 committed by GitHub
parent ed9c55d4c4
commit f71bdc8b23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -56,7 +56,7 @@ public class OAuth2 extends AuthenticationDTO {
@JsonView({Views.Public.class, FromRequest.class})
String clientId;
@Encrypted @JsonView({Views.Public.class, FromRequest.class})
@Encrypted @JsonView(FromRequest.class)
String clientSecret;
@JsonView({Views.Public.class, FromRequest.class})