I am trying to display the details of the current user however I keep getting errors. I tried accessing the authenticated user from the template but that did not work as I w
You can use Thymeleaf extras for display authenticated user details.
Thymeleaf Extras Springsecurity4