Closed SpaceNet closed 4 years ago
There are no comments in this issue. Is this issue resolved? @SpaceNet - Were you able to get past this issue as I am also facing the same.
Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.
Summary
Cannot get any authorities by login
Actual Behavior
Loggin in is maybe done but Not granted any authorities.
Expected Behavior
Loggin is done and granted ROLE_ADMIN
Configuration
I made data with blow class
repository is simple
User class
User SQL for MySQL
the service class
login.html
Login
build.gradle
the security log
Version
SpringBoot 2.0.0.RELEASE SpringSecurity 5.0.3.RELEASE
Sample