public static String getUniqueIdentity(final OpenIdConfiguration openIdConfiguration,
                                           final JwtClaims jwtClaims) {
        Objects.requireNonNull(openIdConfiguration);
        Objects.requireNonNull(jwtClaims);
        final String uniqueIdentityClaim = openIdConfiguration.getUniqueIdentityClaim();
        final String id = JwtUtil.getClaimValue(jwtClaims, uniqueIdentityClaim)
                .orElseThrow(() -> new RuntimeException(LogUtil.message(
                        "Expecting claims to contain configured uniqueIdentityClaim '{}' " +
                        "but it is not there, jwtClaims: {}",
                        uniqueIdentityClaim,
                        jwtClaims)));

        LOGGER.debug("uniqueIdentityClaim: {}, id: {}", uniqueIdentityClaim, id);

        return id;
    }
Gets the unique ID that links the identity on the IDP to the stroom_user.
Maps to the 'name' column in stroom_user table.
stroom-security/stroom-security-common-impl/src/main/java/stroom/security/common/impl/JwtUtil.java