Problème de connexion de mon application au serveur d'axion

J’ai mon application qui n’arrive pas a se connecter au serveur d’axion lorsque j’active l’authentification : axoniq.axonserver.accesscontrol.enabled=true

Il me renvoie une erreur: Connecting to AxonServer node [localhost:8124] failed: PERMISSION_DENIED: Invalid token for io.axoniq.axonserver.grpc.control.PlatformService/GetPlatformServer
2025-01-08 10:51:18.313 INFO 16684 — [SKTOP-019KG9F-1] i.a.a.c.impl.AxonServerManagedChannel : Failed to get connection to AxonServer. Scheduling a reconnect in 2000ms

J’ai beau créer les tokens par l’interface de axion server mais toujours le même résultat.

Besoin vraiment d’assistance chere communaute

Hi,

which property do you use in your application to configure the token?
If you use a Spring application.properties file, it needs to contain:

axon.axonserver.token=...your_token_here...