@Deprecated
    public String createToken(Authentication authentication) {
        return createToken(authentication.getName());
    }
@Test
    void testInvalidSecretKey() {
        assertThrows(IllegalArgumentException.class, () -> createToken("0123456789ABCDEF0123456789ABCDE"));
    }