I've tried fingerprintJS but ut doesn't work in production, the browser block the connection to the client.
Also I need to create a reliable fingerprint not only for the browser but also for the device.
the problem with user agent is version of os and browser are changing all the time so it's problematic.
Any suggestion ?