arabcoders / watchstate

Self-hosted service to sync your plex, jellyfin and emby play state. without relying on 3rd-party external services.
MIT License
481 stars 9 forks source link

Initial support for adding plex users with PIN. #543

Closed arabcoders closed 2 months ago

arabcoders commented 2 months ago

In certain cases, when adding a backend some of the Plex admin tokens lack the authority of generating limited access token for users, as such when you select a user from the list as we attempt to generate accesstoken for the selected user. PIN is required error is thrown. So this PR includes a partial support for adding a PIN while creating new backend via both Web and CLI.

This also fixes the issue the user in #542 is facing.