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
Didn't try it, but it looks promising and very similar to your use case. My suggestion is to get a copy of that example, study how it works, and adapt it to your needs. Understanding a sample code is crucial, otherwise you'll end building brittle code. Take inspiration from code, not just copy it.