Comments (6)
Discovered that this is a token-relate issue. Repro case:
- generate an app, start it, login as admin (and check the "remember me" box)
- shutdown the app, delete it on disk
- generate another app, start it, repeat the same login process
Login fails due to leftoverjhi-authenticationToken
in browser local storage.
Delete the token & try again...should be successful.
This happened to me because I ran the generator multiple times (testing different front-ends).
Might happen to others if they generate or use multiple jhipster apps on the same host/port.
This isn't strictly a defect, but has to do with token management.
from generator-jhipster.
Using h2 disk-based persistence worked fine for me when I tried it with 8.1.0 and Angular last week as part of my jhipster8-demo tutorial and screencast.
from generator-jhipster.
JHipster has completed the sample check
.yo-rc.json
: valid
Entities JDL: blank
Application: successfully generated
Frontend check: success
Backend check: success
E2E check: success
This check uses jhipster info
output from the issue description to generate the sample.
Bug report that does not contain this information will be marked as invalid.
from generator-jhipster.
I could not reproduce:
jhipster from-issue 24608
cd jhipster-samples/24608
./mvnw
user/user 👍
admin/admin 👍
from generator-jhipster.
Discovered that this is a token-relate issue. Repro case:
- generate an app, start it, login as admin (and check the "remember me" box)
- shutdown the app, delete it on disk
- generate another app, start it, repeat the same login process
Login fails due to leftoverjhi-authenticationToken
in browser local storage.
Delete the token & try again...should be successful.This happened to me because I ran the generator multiple times (testing different front-ends). Might happen to others if they generate or use multiple jhipster apps on the same host/port.
This isn't strictly a defect, but has to do with token management.
thanks @cfreyer. it works in private window
from generator-jhipster.
This is a bug. Probably happens with expired jwt token too.
from generator-jhipster.
Related Issues (20)
- Websockets admin/tracker generated example is broken in jHipster 8.1.0 HOT 5
- JHipster 8.2.0 release HOT 3
- How to dynamically change schemas using SchemaContextHolder and SchemaSettingAspect classes when passing the schema in the header of the request
- Incremental changelog won't count up timestamp or won't use the current timestamp but always the creation timestamp leading to incorrectly overwritten changelog files
- Active session functionality does not work for session-based authentication HOT 2
- Eclipsestore Support HOT 2
- JDL generation with builtInEntity on authority in jHipster 8.1.0 HOT 2
- While I am implementing swagger I am facing the issue
- Custom columns names with @fieldNameAsDatabaseColumn(colum_name) in JDL HOT 6
- Expose generator-jhipster/test/support folder for blueprints HOT 2
- blueprint (jdl) fails during unit test
- Integration test not reliable with UUID as primary key HOT 3
- spring-data-relational blueprint test failure HOT 3
- Result object of generated service class in update case possibly outdated
- Schema validation can fail when ENUM or boolean types are used in entities with MySQL. HOT 4
- Swagger UI does not load while using JWT authentication HOT 1
- language blueprint fails during unit test
- Entity List No Show HOT 1
- angular & language generators combined in a blueprint throws error during unit testing
- Stand alone blueprint throws error during unit testing HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generator-jhipster.