百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
P

PlexAuth

> 编程语言
开源

基于 Plex 的使用 PHP 的身份验证

100 stars0 点赞0 次浏览
访问官网GitHub

工具介绍

基于 Plex 的使用 PHP 的身份验证

PlexAuth

PHP based Plex authenticaion. Riemers has done a fantastic job of getting a Docker up and running using PlexAuth. Check it out here: https://github.com/riemers/usenet-docker-plexauth

I'm using Nginx to reverse proxy a heap of different services that all tie into Plex. I wanted to be able to have all the people I share my plex with to be able to access these things but didn't really want to share the master passwords for each service.

Using Nginx's Auth_Request module I've now been able to secure all the services using users Plex credentials.

It's not finished and a lot of the code is slapped together. I have the intention to go back and clean a lot of it up when time permits. Hope this helps someone else out there.

I plan to put up a bit of a guide on how to use it but I think its fairly straight forward. I've only tested with Ubuntu 14.04+

This requires you to have:

1. Nginx. For nginx config check out the example.
2. PHP
3. PHP-Curl

You can restrict what some users can access. It works based off a Plex filter, so if the URI is added to the filter then the user can access that URI. Just use auth_request to make a second request to the URI that you wish to secure with a GET request "admin=true". To allow the user add the URI to their photos filter. Sorry, if you use photos on plex this won't work.

Custom fork of plexpy that intergrates PlexAuth and PlexPy login for SSO. https://github.com/hjone72/plexpy

There are a few quick things that need to be done to get this working:

1. Head to: https://github.com/gbirke/rememberme follow the instructions to install RememberMe
2. Rename sample_config.ini.php to config.ini.php and edit as needed.
3. Rename footer_sample.php to footer.php and edit as desired.
4. Rename nav_sample.php to nav.php and edit as desired.

links that may be helpful: https://www.nginx.com/resources/wiki/start/topics/examples/imapauthenticatewithapachephpscript/ https://developers.shopware.com/blog/2015/03/02/sso-with-nginx-authrequest-module/ http://mamchenkov.net/wordpress/2015/08/19/custom-single-sign-on-with-nginx-and-auth-request-module/

Screenshots:

Thanks.

Issues· 5 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScript

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言