-
Notifications
You must be signed in to change notification settings - Fork 19
Finding an authentication token X Plex Token
While not something most users will need to worry about, sometimes you may need to find the value for an account authentication token, which might be referred to as the X-Plex-Token
value.
The most common reason you might need it is for debugging purposes when trying to access server endpoints or XML via URL. When you have the Plex Media Server signed in to an account, the server always requires authenticated access, which is where the token comes in.
Tip!: The method explained in this article will get you a token that is valid temporarily. If you’re using a tool or app that needs more permanent authentication, please sign in to your Plex account instead.
Finding a temporary token is pretty simple:
- Sign in to your Plex account in the Plex Web App
- Browse to a library item and view the XML for it
- Look in the URL and find the token as the
X-Plex-Token
value
If you’re accessing via a URL, you’ll need to pass it as a URL parameter. For instance:
http://localhost:32400/?X-Plex-Token=YOURTOKENVALUEHERE
http://localhost:32400/library/sections/1?X-Plex-Token=YOURTOKENVALUEHERE
http://192.168.1.12:32400/library/metadata/147?X-Plex-Token=YOURTOKENVALUEHERE
In rare cases, you may find yourself wanting to invalidate an existing token so it no longer works and get a new one. This isn’t something most users will ever need to do.
The easiest way to do so is to go to your Plex account profile, choose to change your password, and check the Sign out connected devices after password change
option when entering the new password.
This will invalidate all of your tokens and, as the setting name states, sign all of your apps (and any Plex Media Servers) out of your account. When you then sign back in, you’ll re-authenticate and get a new token.
If you want to request a feature, please submit a Feature request.
If you're having some trouble with the extension, please see the Wiki.
If you want to report a bug/problem, please submit:
- a Bug Report for generic errors that can be easily fixed (e.g. a website updated, the scripts are outdated; or, the extension no longer works on a site)
- a Fail Report for errors that make the extension unusable (e.g. can't save settings)