Could someone take a look at my repo here: <https:...
# spring
k
Could someone take a look at my repo here: https://github.com/kensiprell/kotlin-spring-security? To summarize the README, I’m trying to use a
BCryptPasswordEncoder
bean to encode passwords, but whenever I create the bean, it breaks authentication. The details are in the repo’s README. Thanks!
Here’s the fix to the PasswordEncoder problem:
Copy code
@Bean
fun passwordEncoder(): PasswordEncoder {
  return PasswordEncoderFactories.createDelegatingPasswordEncoder()
}