microservices-sample-project icon indicating copy to clipboard operation
microservices-sample-project copied to clipboard

How to run end to end this project?

Open soumyarout opened this issue 5 years ago • 0 comments

Hi Tharanga Thennakoon,

Thanks for the nice article and sharing the code as well. I am able to run all the spring boot project. POST /api/auth-service/roles-permissions-setup/init executed fine. Could you please add some more details in README about how to register a user and execute all auth service operations?

http://192.168.1.11:9797/api/auth-service/auth


org.springframework.security.core.userdetails.UsernameNotFoundException: NONE_PROVIDED
	at com.quebic.auth.api.security.service.JwtUserDetailsServiceImpl.loadUserByUsername(JwtUserDetailsServiceImpl.java:49) ~[classes/:na]
	at org.springframework.security.authentication.dao.DaoAuthenticationProvider.retrieveUser(DaoAuthenticationProvider.java:114) [spring-security-core-4.1.3.RELEASE.jar:4.1.3.RELEASE]
	at org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:144) [spring-security-core-4.1.3.RELEASE.jar:4.1.3.RELEASE]
	at org.springframework.security.authentication.ProviderManager.authenticate(ProviderManager.java:174) [spring-security-core-4.1.3.RELEASE.jar:4.1.3.RELEASE]
	at com.quebic.auth.api.security.controller.AuthController.createAuthenticationToken(AuthController.java:49) [classes/:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_144]
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_144]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_144]
	at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_144]
	at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:220) [spring-web-4.3.4.RELEASE.jar:4.3.4.RELEASE]

Thanks Som

soumyarout avatar Apr 20 '19 16:04 soumyarout