We are developing an application with Laravel / PHP, and we want to use a pay-per-pricing model. To do this, we must make sure that the account can only be used by one concurrent user. We use the JWT for authentication, and it is stateless, so I cannot use sessions.
To provide one simultaneous login, I can enclose a browser or IP address, but both of them are not unique, and it is possible that they happen several times, for example. office. I can also send a MAC address, but this is not the easiest way.
Are there other solutions to provide one simultaneous login for a user using JWT?
source
share