I want to build a microservices software with JHipster. I'm running jhipster-registry:v3.2.4 into Docker, i also have a microservice application (create with generator 5.0.1) but i do no generate a gateway application.
I set the profiles in docker-compose.yml with: dev and native
I setted the JWT Secret in Docker Compose file.
I added configurations files into : central-config folder
I setted the jwt for my microservice into all possible *.yml files
but on the registry UI, when i'm trying to access microservices logs or metrics, i got an Exception : Invalid JWT Signature.
As you use the native profile, you can use a config file by setting
SPRING_CLOUD_CONFIG_SERVER_NATIVE_SEARCH_LOCATIONS=file:./config/
in your compose .yml and in a config folder, you add an application.yml file with
jhipster:
security:
authentication:
jwt:
secret: your secret