Skip to content

Step23 => Creating inMemory User works different now #6

@Eternal-Infinity

Description

@Eternal-Infinity

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions