Closed kevin-madhu closed 4 years ago
I transfert the issue to jhiipster-kotlin project, as it seems related to this one, not in main generator-jhipster
Thanks for the great explanation from @smcvb
It looks like a configuration issue. Closing the issue but please feel free to reopen if you think it is because of JHipster.
cc: @xetys the application is using UAA. :)
Overview of the issue
After addition of a new dependency (axon-spring-boot-starter for axon framework) into the project, the project always returns invalid_token for authenticated requests when it's being provided with a valid token. I'm using JHipster with UAA.
Motivation for or Use Case
I'm not able to access any authenticated endpoints with valid tokens received from the UAA server after this dependency has been added to the project. Axon Framework is something essential for the project.
Reproduce the error
1) A new jhipster kotlin project was created with the following answers to the questions.
Suggest a Fix
I'm not aware of how the security of a jhipster project is setup. Maybe something gets overridden with configurations provided by axon framework.
JHipster Version(s)
JHipster configuration, a
.yo-rc.json
file generated in the root folder.yo-rc.json file
JDL for the Entity configuration(s)
entityName.json
files generated in the.jhipster
directoryJDL entity definitions
Environment and Tools
java version "1.8.0_201" Java(TM) SE Runtime Environment (build 1.8.0_201-b09) Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
git version 2.17.1
node: v12.18.0
npm: 6.14.4
yeoman: 3.1.1
Docker version 19.03.5, build 633a0ea838
docker-compose version 1.17.1, build unknown