I have problem with login manually with spring security
There is a login page with Qr code(I can put every want need to it)and we have mobile have contain username.
when user scan the Qr code with app ,user must be logged in .
I found this code for login:
but I don't know how to use it and how to logged in user automatically
I mean when user scan the qr code the page must be redirect to dashboard
I can create a web socket but I don't know how use it.
I need this .please help me.
sorry for my english