Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Q: How do you identify a user ? #226

Open
streeemiofun opened this issue Aug 4, 2023 · 2 comments
Open

Q: How do you identify a user ? #226

streeemiofun opened this issue Aug 4, 2023 · 2 comments

Comments

@streeemiofun
Copy link

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!

@rleroi
Copy link

rleroi commented Feb 20, 2024

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

@dexter21767-dev
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants