After creating example app (all defaults) I can't login with user:user or admin:admin.
This happened to me when I first tried jhipster. I was running "grunt server" but not spring boot. Maybe the same thing happened to you.
OK, if you didn't start the Java server, that's normal.
I'm invoking mvn spring-boot:run so what else might be wrong?
I'm struggling with the very same issue. After creating example app (all defaults), i run mvn spring-boot:run but the default users couldn't authenticate. This suspicious log message can be seen:
[WARN] org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder - Encoded password does not look like BCrypt
Any help would be appreciated.
Thank you.
are you on mongo db?
Yes, I chose mongo but I'm a mongo (and jhipster) newbie, so there's a good chance that I screwed up something.
Here's the stuff: https://github.com/bigyoo/recommend
Go and replace the file in resources/config/mongeez with this https://github.com/jhipster/generator-jhipster/blob/master/app/templates/src/main/resources/config/mongeez/users.xml it has the new bcrypt passwords
It works. Thank you!
i have the same problem
Do you use mongodb? Have you replaced the resources/config/mongeez/users.xml with the new one reffered by pvlastaridis?
@bigyoo is there an error in the users.xml file, or is it just people using the old file, before we used blowfish?
When I started to use jHipster the users.xml contained an old password. This caused my problem. But I think it's ok now, so probably aminx4 is using the old file.
for me it's ok. i think it was caused by mongodb server !
I have the same problem but i'm working with mysql. any idea please ?
@jiheneA : don't comment old issue. If you have one, open a new ticket and fill the template, witb all information, so we can reproduce your problem
Most helpful comment
I have the same problem but i'm working with mysql. any idea please ?