spring-boot-security-jwt-auth-mongodb
spring-boot-security-jwt-auth-mongodb copied to clipboard
Build Spring Boot MongoDB JWT Authentication & Authorization example with Spring Security, Spring Data
There is no chance to update this repo to new Spring Boot 2.7.0?
If you find the following exception: ``` Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.data.mongodb.UncategorizedMongoDbException: Query failed with error code...
This issue record the problems in programming, and the solutions that I used. In _security/jwt/JwtUtils.java_ `.signWith(SignatureAlgorithm.HS512, jwtSecret)` will use `JwtBuilder signWith(SignatureAlgorithm alg, String base64EncodedSecretKey) throws InvalidKeyException;` method. This method will...
Hey, your repo looks very helpful to people working with spring boot security. Awesome job! Currently, there is no license in the repository, which means that technically people cannot use...
I already added role to mongoDB. But still Role not found. ``` docker exec -it mongodb mongosh db.roles.insertMany([ { name: "ROLE_USER" }, { name: "ROLE_MODERATOR" }, { name: "ROLE_ADMIN" },...