J'ai un 401 (Unauthorized) lorsque j'essayer d'appler mercure server

code javascript

   const url = new URL('http://localhost:3001/.well-known/mercure');
    url.searchParams.append('topic', 'http://codeart.tn/ping');

    const eventSource = new EventSource(url , {withCredentials: true});
    eventSource.onmessage = e => console.log(e);

commande mercure

PUBLISHER_JWT_KEY='!ChangeMe!' JWT_KEY='!ChangeMe!' ADDR='localhost:3001' ALOW_ANONYMOUS=1  USE_FORWARDED_HEADERS=1 CORS_ALLOWED_ORIGINS="http://localhost:8000" DEBUG=1 ./mercure run

voici l'erreur exacte

http://localhost:3001/.well-known/mercure?topic=http%3A%2F%2Fcodeart.tn%2Fping 401 (Unauthorized)

merci de m'aider svp

Aucune réponse