Plex
Support level: Community
Allows users to authenticate using their Plex credentials
Preparation
None
authentik -> Sources
Add Plex as a source
- Name: Choose a name
- Slug: Set a slug
- Client ID: Set a unique Client Id or leave the generated ID
- Press Load Servers to login to plex and pick the authorized Plex Servers for "allowed users"
- Decide if anyone with a plex account can authenticate or only friends you share with
Save, and you now have Plex as a source.
note
For more details on how-to have the new source display on the Login Page see here.
Plex source property mappings
See the overview for information on how property mappings work.
Expression data
The following variables are available to OAuth source property mappings:
info
: A Python dictionary containing Plex user data.auth_api
: A Plex client object to make requests to the Source with authentication built-in.