stremio-addon-sdk icon indicating copy to clipboard operation
stremio-addon-sdk copied to clipboard

Q: How do you identify a user ?

Open streeemiofun opened this issue 2 years ago • 2 comments

I am trying a trakt addon, where it requires a device code be saved for a user - it has occurred to me that I cannot find any examples of how stremio can call something like defineCatalogHandler as a specific user, so that my backend can look this user's device code up ? Am I missing some docs somewhere ? thanks!

streeemiofun avatar Aug 04 '23 08:08 streeemiofun

One way to do this is to create a configuration page that saves the user ID in the addon URL/config:

/user-id/manifest.json

rleroi avatar Feb 20 '24 15:02 rleroi

u can't identify users by default. but to use any user data in your addon, u can check this part of the documentation.

dexter21767-dev avatar Feb 20 '24 16:02 dexter21767-dev