stremio-addon-sdk
stremio-addon-sdk copied to clipboard
Q: How do you identify a user ?
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!
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
u can't identify users by default. but to use any user data in your addon, u can check this part of the documentation.