Hi everyone!
I am developing a an application plex which needs to communicate with my PMS remotely. The information about
the remote servers are retrieved by signing in to MyPlex using POST and basic web authentication. The post is
sent to “https://my.plexapp.com/users/sign_in.xml”. After that i get an authentication token in the response which
I use to get “https://my.plexapp.com/pms/servers.xml?X-Plex-Token=xxxxxxxxxxxxxx”. I now have the servers
that i want to connect to remotely.
Unfortunately the token retrieved when signing in to MyPlex does not work when trying to connect to the remote servers.
I have found out that each of my servers have their own authentication token, which has to be used if I want to have access
to them remotely.
These authentication tokens can be found on the servers in a file called “Preferences.xml” in an entry called “PlexOnlineToken”.
The tokens can also be found on MyPlex. If you sign in to MyPlex using a webbrowser, navigate to the servers page and click
on one of the available servers you will see a link named “Plex Media Manager”. If you check the URL the link points to you will
find the authentication token necessary to connect to the server remotely.
My question is how i can get these authentication tokens for each server without having to scrape the MyPlex web page.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.