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.
This commit is contained in:
Pedro Silva 2022-05-25 22:59:05 +01:00 committed by GitHub
parent 9e429f1d68
commit 72c310ce50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,7 +19,7 @@ public class DataHubTokenServiceFactory {
@Value("${authentication.tokenService.signingKey:}") @Value("${authentication.tokenService.signingKey:}")
private String signingKey; private String signingKey;
@Value("${authentication.tokenService.saltingKey:}") @Value("${authentication.tokenService.salt:}")
private String saltingKey; private String saltingKey;
@Value("${elasticsearch.tokenService.signingAlgorithm:HS256}") @Value("${elasticsearch.tokenService.signingAlgorithm:HS256}")