Safari creates new authorised device for every log in

Server Version#:1.16.2.1297
Player Version#:3.106.2
Every time I log into Plex Web with Safari it signs me in as a brand new user, meaning I have to enter a PIN even when “automatically sign in” is ticked in settings. It creates a new authorised device every time this occurs with no exception. I have uninstalled and reinstalled the Plex server, and have reinstalled the OS on my MacBook Pro from scratch to no avail. This has been going on for some time. Please fix. It’s a pain.

Plex cannot fix it. It is your browser which is throwing away all cookies and ‘website’ data for plex.tv when you close it.
You need to tell it not to do that for the domain plex.tv

1 Like

Yeah I wondered if it could have been that before, so not only did I adjust the settings in the browser to make sure that no cookies or website data was ever cleared unless I did it myself, but I whitelisted plex.tv in every possible way I was allowed to. Unless there is some kind of deep Safari setting that I cannot reach that is overriding the settings that I can, that is not the case I’m afraid. Just for the sake of certainty I went into the cache and checked to see if Safari has stored all the cookies and data. It is still there.

If you have any other solutions I’d be happy to try them out.

I have whitelisted not only plex.tv but also

  • app.plex.tv
  • plex.direct
  • the local IP address of the plex server

There may be additional software or web browser add-ins which clean out these data.

I have whitelisted app.plex.tv, plex.tv, the local IP of my plex server as well as my own public IP just in case. I have both whitelisted them and removed the whitelisting, testing both just to check. I have checked the ports are correct. I have double checked all potential problems that may occur. I have turned off the firewall, kept it on, made exceptions and removed them. I also wiped and reinstalled my router. The result is the same every time. No other browser does this.

I have gone as far as to wipe the entire OS and start again from scratch (Original post mentions this). I have removed all content blockers and even turned off my firewall simply for the sake of checking it wasn’t something I am doing. I have also wiped the OS from my Plex Server (Windows) and reinstalled from scratch. There is nothing additional on the system. Just Plex. Same thing happens.

None of these work. Every time I access app.plex.tv from Safari, whether the program is closed or not, it will log me in and create a new session, and thus a new authorised device is added, and because of this it cannot keep any settings regarding signing me in automatically on.

Any suggestions further would be welcomed - I’m definitely out of ideas!

Stop using Safari.

1 Like

Thanks for your input. The floor is still open to others.

We’ve seen a couple reports of this, but none of us are able to reproduce the problem. There are numerous employees that use Safari day-to-day and this behavior isn’t present.

Can you please provide more details about your environment? For example, what Safari version, what macOS version? Any errors in the developer console in Safari? Any further information you think might be unique or noteworthy?

Hi @chrishoage!

MacOS version: Mojave 10.14.6 and Safari 12.1.1

There is in fact an error that occurs within the developer console that comes up every time I access plex…and it’s to do with Plex Tokens.

So it provides the link I accessed and you can see there was an attempt to log in made by Safari, I don’t know if this is a safe place to post the link itself but it follows it with the error:

Failed to load resource: the server responded with a status of 404 (Not Found)

Is there anything I can send you to help pinpoint this issue?

Granted I have little-to-no knowledge of how your systems work, but it does look to me like perhaps it is not able to use the token to access the previous log in session, gets the 404 and thus re-logs in?

I also have the exact same issue as Russell_Stirling. So Safari running MacOS 10.14.5. I’ve just cleaned out about 40 Safari authorised devices. And I can reproduce it.

Plex is running on a Windows machine (latest version of Plex - but the issue has been there for months).
If I can provide any further info let me know.

So there does seem to be a workaround of sorts. If I start on plex.tv and click “Launch” it will open plex as if I’m using the same session. If I go straight to app.plex.tv then it doesn’t.

Considering me and @DoobleBerry can reproduce these results and there have been reports of it, is there anything we can send you to help identify and fix this problem @chrishoage?

Thanks - just spent ages clearing out all the old safaris from authorised login :slight_smile: So will try this way (it seems to remember the Automatically Sign In tick box as well) so its 1 more click to launch but no PIN number entry…

Just like @chibi_russ happy to help diagnose the underlying problem as well

Hi @DoobleBerry! You’re welcome, I’m guessing now they won’t worry too much about Safari as a browser because of the Mac and Windows app. I’ve just tried it and it’s excellent! It’s replaced safari for me and works great. Would recommend you get it if you haven’t and just use that instead. It’s got all the same options as the browser but I’ve had zero issues and it stays signed in which is good!

Hi everyone, thanks for the reports, we’re investigating.

Yes I have this issue too. Very annoying.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.