Replies: 1 comment 3 replies
-
Since to be able to use the same app for multiple users you need to log out in between - and on log out you should clean up the tokens (delete the device). I don't see how you would run into ever needing multiple logged in users at the same time - do you have a more specific use case why you would want this? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to support multiple users on the same physical device.
Since tokens are user agnostic, that means I will get the same token.
There are two possible paths that I see:
A) Change
user
tousers
on the Device model. (I.e. Many-to-Many)B) Remove the unique constraint of
registration_id
and instead useunique_together = ("registration_id", "user")
What are your thoughts?
Beta Was this translation helpful? Give feedback.
All reactions