# Plex 2FA support

**URL:** <https://community.yatse.tv/t/plex-2fa-support/3466>\
**Category:** Solved\
**Tags:** plex\
**Created:** [June 2, 2021, 10:15pm UTC](https://community.yatse.tv/t/plex-2fa-support/3466 "2021-06-02T22:15:23Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![fireplex](https://community.yatse.tv/letter_avatar_proxy/v4/letter/f/7ab992/32.png) [@fireplex](https://community.yatse.tv/u/fireplex)\
**Post date:** [June 2, 2021, 10:15pm UTC](https://community.yatse.tv/t/plex-2fa-support/3466/1 "2021-06-02T22:15:23Z")

</div>

**Issue description** :  
2 issues:

1. Yatse does not appear to support native plex 2FA login method as per [Secure Your Account with Two-Factor Authentication | Plex Support](https://support.plex.tv/articles/two-factor-authentication/)

2. I have 2FA enabled and can connect by appending auth code to password as per above BUT all my libraries are reported by Yatse as empty, I can see no movies, music etc

**Logs** :

[https://drive.google.com/file/d/1cP9nq4XCoL7QOue8P6YW3eUiDO4LkOPz/view?usp=sharing](https://drive.google.com/file/d/1cP9nq4XCoL7QOue8P6YW3eUiDO4LkOPz/view?usp=sharing)

**Screenshots** :

**Additional information** :

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [June 3, 2021, 6:24am UTC](https://community.yatse.tv/t/plex-2fa-support/3466/2 "2021-06-03T06:24:44Z")

</div>

Their global login system is 100% dependent on their server and brings a lot of burden to normal users. Until there’s no choice I won’t use that.

The second solution should work and if you can log then there’s something odd somewhere. Are you sure you entered the proper code and it did not expire after?

What happens if you remove the host and add it again?

---

<div class="post-metadata">

**Author:** ![fireplex](https://community.yatse.tv/letter_avatar_proxy/v4/letter/f/7ab992/32.png) [@fireplex](https://community.yatse.tv/u/fireplex)\
**Post date:** [June 3, 2021, 8:39am UTC](https://community.yatse.tv/t/plex-2fa-support/3466/3 "2021-06-03T08:39:22Z")

</div>

Hello,

Yes it logged in fine, or at least passed the test that Yatse presented.

I will try removing it and adding it again.

Thanks.

---

<div class="post-metadata">

**Author:** ![fireplex](https://community.yatse.tv/letter_avatar_proxy/v4/letter/f/7ab992/32.png) [@fireplex](https://community.yatse.tv/u/fireplex)\
**Post date:** [June 3, 2021, 8:48am UTC](https://community.yatse.tv/t/plex-2fa-support/3466/4 "2021-06-03T08:48:08Z")

</div>

OK,

Removed it and re-added it, still same issue.

New logs here [https://drive.google.com/file/d/1rCjhawPfQzkFIadxqlF1AFmo8nWv\_fS2/view?usp=sharing](https://drive.google.com/file/d/1rCjhawPfQzkFIadxqlF1AFmo8nWv_fS2/view?usp=sharing)

Looking at Plex “Authorized Devices” I cannot see Yatse reported…

Regards

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [June 3, 2021, 9:01am UTC](https://community.yatse.tv/t/plex-2fa-support/3466/5 "2021-06-03T09:01:43Z")

</div>

Makes no sense they changes something I’ll need to dig out ☹

And yes by using normal auth it’s just a normal device in the device list.

---

<div class="post-metadata">

**Author:** ![fireplex](https://community.yatse.tv/letter_avatar_proxy/v4/letter/f/7ab992/32.png) [@fireplex](https://community.yatse.tv/u/fireplex)\
**Post date:** [June 3, 2021, 9:11am UTC](https://community.yatse.tv/t/plex-2fa-support/3466/6 "2021-06-03T09:11:55Z")

</div>

I can try disabling 2FA and testing, if that will help?

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [June 3, 2021, 9:12am UTC](https://community.yatse.tv/t/plex-2fa-support/3466/7 "2021-06-03T09:12:58Z")

</div>

There’s no reason it does not work without 2FA as even if Plex is less used there’s still many users of it.

But yes would confirm there’s no other issue with the libraries permissions.

---

<div class="post-metadata">

**Author:** ![fireplex](https://community.yatse.tv/letter_avatar_proxy/v4/letter/f/7ab992/32.png) [@fireplex](https://community.yatse.tv/u/fireplex)\
**Post date:** [June 3, 2021, 9:17am UTC](https://community.yatse.tv/t/plex-2fa-support/3466/8 "2021-06-03T09:17:39Z")

</div>

Just tested, it’s syncing up fine.

So definitely related to 2FA in some way.

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [June 3, 2021, 9:48am UTC](https://community.yatse.tv/t/plex-2fa-support/3466/9 "2021-06-03T09:48:12Z")

</div>

Yes 🙂 But if there was a basic issue you should not be able to add the host in the first place. So there’s some changes somewhere in Plex as all those are not really documented ☹

Will take some times to repro and eventually fix and not really high priority

---

<div class="post-metadata">

**Author:** ![fireplex](https://community.yatse.tv/letter_avatar_proxy/v4/letter/f/7ab992/32.png) [@fireplex](https://community.yatse.tv/u/fireplex)\
**Post date:** [June 3, 2021, 9:51am UTC](https://community.yatse.tv/t/plex-2fa-support/3466/10 "2021-06-03T09:51:00Z")

</div>

OK no worries , thanks.

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [June 4, 2021, 9:49am UTC](https://community.yatse.tv/t/plex-2fa-support/3466/11 "2021-06-04T09:49:13Z")

</div>

So found time to do a quick test as the error was strange.  
And it’s actually a small bug on my side after a refactor.

The token get during validation was not reused later leading to a new token generation, but with the 2FA code being already invalid it fails. You can probably already properly connect with current version by putting the 2FA code just after it’s renew and be real fast to save then connect to the host.

In all cases next version will better handle this.

---

<div class="post-metadata">

**Author:** ![fireplex](https://community.yatse.tv/letter_avatar_proxy/v4/letter/f/7ab992/32.png) [@fireplex](https://community.yatse.tv/u/fireplex)\
**Post date:** [June 5, 2021, 10:05am UTC](https://community.yatse.tv/t/plex-2fa-support/3466/12 "2021-06-05T10:05:03Z")

</div>

Excellent, thanks for looking at this so quick👍
