Login Error React UI
See original GitHub issueOverview of the issue
Cannot log in React with OAUTH2 in Monolyth
Motivation for or Use Case
Out of the box generated code does not work
Reproduce the error
- Generate project
- Run docker-compose -f src/main/docker/keycloak.yml up (tested to work http://localhost:9080/)
- Run gradlew
- Run npm start
- Log in with default user
Result
JHipster Version(s)
6.8.0
JHipster configuration
.yo-rc.json file
{ "generator-jhipster": { "promptValues": { "packageName": "com.somesite.someproj" }, "jhipsterVersion": "6.8.0", "applicationType": "monolith", "baseName": "someproj", "packageName": "com.somesite.someproj", "packageFolder": "com/somesite/someproj", "serverPort": "8080", "authenticationType": "oauth2", "cacheProvider": "ehcache", "enableHibernateCache": false, "websocket": "spring-websocket", "databaseType": "mongodb", "devDatabaseType": "mongodb", "prodDatabaseType": "mongodb", "searchEngine": false, "messageBroker": false, "serviceDiscoveryType": false, "buildTool": "gradle", "enableSwaggerCodegen": false, "embeddableLaunchScript": false, "useSass": true, "clientPackageManager": "npm", "clientFramework": "react", "clientTheme": "flatly", "clientThemeVariant": "dark", "creationTimestamp": 1587919421213, "testFrameworks": ["cucumber"], "jhiPrefix": "jhi", "entitySuffix": "", "dtoSuffix": "DTO", "otherModules": [], "enableTranslation": false, "blueprints": [] } }
JDL for the Entity configuration(s) entityName.json
files generated in the .jhipster
directory
JDL entity definitions
Environment and Tools
java version “11.0.7” 2020-04-14 LTS Java™ SE Runtime Environment 18.9 (build 11.0.7+8-LTS) Java HotSpot™ 64-Bit Server VM 18.9 (build 11.0.7+8-LTS, mixed mode)
git version 2.25.1.windows.1
node: v12.0.0
npm: 6.9.0
Docker version 19.03.5, build 633a0ea
docker-compose version 1.25.4, build 8d51620a
INFO! Congratulations, JHipster execution is complete!
JDL for the Entity configuration(s) entityName.json
files generated in the .jhipster
directory
JDL entity definitions
Environment and Tools
java version “11.0.7” 2020-04-14 LTS Java™ SE Runtime Environment 18.9 (build 11.0.7+8-LTS) Java HotSpot™ 64-Bit Server VM 18.9 (build 11.0.7+8-LTS, mixed mode)
git version 2.25.1.windows.1
node: v12.0.0
npm: 6.9.0
Docker version 19.03.5, build 633a0ea
docker-compose version 1.25.4, build 8d51620a
INFO! Congratulations, JHipster execution is complete!
Browsers and Operating System
Windows 10 Pro Chrome Version 81.0.4044.122 (Official Build) (64-bit) Firefox 75.0 (64-bit)
- Checking this box is mandatory (this is just to show you read everything)
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (5 by maintainers)
Nevermind, I found it at https://github.com/jhipster/jhipster.github.io/pull/955.
@SudharakaP Do you have a link to the PR that updates the docs?