SpringBootWebApplicationStepByStep icon indicating copy to clipboard operation
SpringBootWebApplicationStepByStep copied to clipboard

Step23 => Creating inMemory User works different now

Open Eternal-Infinity opened this issue 5 years ago • 0 comments

Hi there,

in Step23 you create an inMemory User via auth.inMemoryAuthentication().withUser("in28Minutes").password("dummy") .roles("USER", "ADMIN"); However, this doesn't work anymore, an error is thrown when I try to log in with that user:

java.lang.IllegalArgumentException: There is no PasswordEncoder mapped for the id "null"

Read here for a solution (I personally chose Solution 1 there) Please update Step23.md and, if possible, your video of Step 23.

Eternal-Infinity avatar Mar 25 '20 08:03 Eternal-Infinity