Plex-Cleaner icon indicating copy to clipboard operation
Plex-Cleaner copied to clipboard

2FA support

Open niksy opened this issue 2 years ago • 2 comments

Do you plan on adding 2FA support?

niksy avatar Dec 16 '21 21:12 niksy

FYI instead of using the script to generate a Plex token for you (which of course it can't if you have Plex's 2FA turned on) you can just find an authentication token yourself:

https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/

Although that article states

The method explained in this article will get you a token that is valid temporarily. If you’re working on a tool or app that needs more permanent authentication, please instead use the method outlined in our third-party development forum.

So I'm not sure how long that token will last, I only just used this yesterday to get PlexCleaner.py back up and running again. I guess I'll looking into that forum outlined method if the token expires annoyingly quickly.

randallbruder avatar Jan 17 '22 16:01 randallbruder

I decided to scratch my own itch so I’ve packaged already available JS library inside Docker image: https://github.com/niksy/docker-plex-oauth

niksy avatar Jan 18 '22 06:01 niksy