Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step23 => Creating inMemory User works different now #6

Open
Eternal-Infinity opened this issue Mar 25, 2020 · 0 comments
Open

Step23 => Creating inMemory User works different now #6

Eternal-Infinity opened this issue Mar 25, 2020 · 0 comments

Comments

@Eternal-Infinity
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant