From 72c310ce501a4dd89a93b65fce4f48bd9d485b28 Mon Sep 17 00:00:00 2001 From: Pedro Silva Date: Wed, 25 May 2022 22:59:05 +0100 Subject: [PATCH] fix(gms): Fix incorrect StatefulTokenService init (#5004) StatefulTokenService was not getting correctly initialised in GMS due to a typo on the configuration for the salt leading to inconsistent hashing logic. --- .../linkedin/gms/factory/auth/DataHubTokenServiceFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata-service/factories/src/main/java/com/linkedin/gms/factory/auth/DataHubTokenServiceFactory.java b/metadata-service/factories/src/main/java/com/linkedin/gms/factory/auth/DataHubTokenServiceFactory.java index 6591401d48..20f2e3829f 100644 --- a/metadata-service/factories/src/main/java/com/linkedin/gms/factory/auth/DataHubTokenServiceFactory.java +++ b/metadata-service/factories/src/main/java/com/linkedin/gms/factory/auth/DataHubTokenServiceFactory.java @@ -19,7 +19,7 @@ public class DataHubTokenServiceFactory { @Value("${authentication.tokenService.signingKey:}") private String signingKey; - @Value("${authentication.tokenService.saltingKey:}") + @Value("${authentication.tokenService.salt:}") private String saltingKey; @Value("${elasticsearch.tokenService.signingAlgorithm:HS256}")