petio-team / petio

Petio Request, Discover, Review
https://petio.tv
MIT License
251 stars 27 forks source link

Cant Auth. Plex server (2FA) in Petio #722

Closed casperse closed 1 year ago

casperse commented 2 years ago

Describe the bug After the security breach at Plex announced today I have reset my password and setup 2FA

FIRST Logging in to PETIO with Plex account and 2FA works fine!

To Reproduce Steps to reproduce the behavior:

BUT the Plex connection does not provide the 2FA and I think this is why this doesnt work? image

casperse commented 2 years ago

Update: I solved this by opening the file config.json and manually pasting the correct token to the config Everything works now (Still a bug :-)

ADRFranklin commented 2 years ago

When you login with the 3rd party auth, it generates a token. That token is not protected by any 2fa and is what Petio uses to access the plex tv api/plex api.

I'm not sure without some console logs or server logs, what is going on for you. If you could provide more information that would help us to identify

angrycuban13 commented 2 years ago

Looks like Plex auth was having some issues last night. This could be the cause

josway commented 2 years ago

I am having a similar issue.

Logs are showing reason as Host is not in the cert's alt name.

angrycuban13 commented 2 years ago

This is likely not a Petio issue but rather ongoing issues with Plex.

MrMxyzptlk commented 1 year ago

I'm having the same issues; Petio will not authenticate to Plex so I can't use it.

angrycuban13 commented 1 year ago

I'm having the same issues; Petio will not authenticate to Plex so I can't use it.

Your issue likely is the Plex address you selected when you initially went through your setup. You might need to re-do the initial config and make sure you select the correct one.