rajesh9697
rajesh9697
Hi Vaibhav, adding the following bean in ResourceServerConfig will solve the issue @Bean(name = BeanIds.AUTHENTICATION_MANAGER) @Override public AuthenticationManager authenticationManagerBean() throws Exception { return super.authenticationManagerBean(); }
Hi Vaibhav, I think the following link helps. https://stackoverflow.com/questions/10008714/requested-bean-is-currently-in-creation-is-there-an-unresolvable-circular-refer @Lazy worked for me. If possible try to share your code.
Hi Amit, There's a hint in the error message (mark your token services as @Primary). That should work. Also (I think) you can just inject a TokenStore into the ResourceServerConfigurer...