The CometChat docs say to store the Auth Token in our database. However, one auth token is valid per user per device. So this auth token will fail if the user logs in with another device than device he signed up with.
Of course, you could create an Auth Token each time the user logs in and delete it when they log out. However, that will increase pricing because each Auth Token is considered a MAU (Monthly Active User).
Ideally, we would create only 1 Auth Token per device, correct? Does the API automatically prevent duplicate Auth Tokens for the same device? Is this the behavior when I set force
to false
as mentioned in docs?