Open peweet opened 4 years ago
build failure:
Error:(49, 12) java: method userDetailsService in class org.springframework.security.config.annotation.authentication.builders.AuthenticationManagerBuilder cannot be applied to given types; required: T found: com.app.project_pglynn.v01.demo.services.implementation.UserServiceImplementation reason: inference variable T has incompatible bounds lower bounds: org.springframework.security.core.userdetails.UserDetailsService lower bounds: com.app.project_pglynn.v01.demo.services.implementation.UserServiceImplementation
Issue was I had to use UserDetailsService as defined in Spring: org.springframework.security.core.userdetails.UserDetailsService;
I will need to refactor a lot of my interfaces..
https://auth0.com/blog/implementing-jwt-authentication-on-spring-boot/
I used this article to create by sign up logic.