For starters, great introduction to JWT security! But i was looking around to see if i could authenticate users with a database instead of the in memory database that is used by default. Do you happen to have an example for this?
Few minutes after i asked the question i stumbled upon the answer...
for those interested i changed this:
password encoder is just a constructor for a BcryptEncoder, and the userdetail service provides a method to load by username from the repository, and get authorities.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.