@Test
    void testPublicKey() throws JoseException {
        LOGGER.info("JsonWebToken (API key): \n\n{}\n", defaultOpenIdCredentials.getApiKey());

        final PublicJsonWebKey publicJsonWebKey = RsaJsonWebKey.Factory
                .newPublicJwk(defaultOpenIdCredentials.getPublicKeyJson());

        LOGGER.info("Public key: {}", publicJsonWebKey.getPublicKey().toString());

        LOGGER.info("Public key Base64: \n\n{}\n", Base64.encode(publicJsonWebKey.getPublicKey().getEncoded()));

        LOGGER.info("private key: {}", publicJsonWebKey.getPrivateKey().toString());

        LOGGER.info("Private key Base64: \n\n{}\n", Base64.encode(publicJsonWebKey.getPrivateKey().getEncoded()));
    }
Make sure the hard coded token in {@link DefaultOpenIdCredentials} can be verified
stroom-security/stroom-security-impl/src/test/java/stroom/security/impl/TestJWTService.java