As of now, I have followed a tutorial to implement Spring Session and it is handled automatically upon successful user authentication. Below is my application.properti
application.properti