I am trying to understand token-based authentication
these days, which claims to be a stateless authentication
method. And I met the concept of s
I don't think stateless authentication and stateless applications are related in the way you think; the word stateless is being used in two different contexts here.
Stateless authentication is a method of identifying who a client is without carrying any information/state from a previous client request or interaction, unlike cookies for example.
Stateless web applications? Sure, they're possible, but it entirely depends whether or not user data must be persisted, that is, it really depends on the application in question.