AuthPortal

AuthPortal

Docker 应用程序 from grtgbln's Repository

概述

AuthPortal is a lightweight, self-hosted authentication gateway for Plex users. It reproduces Overseerr’s clean popup login (no code entry), stores the Plex token, and issues a secure session cookie for your intranet portal.

要求


        Requires a separate Postgres database.
    

运行时参数

网络用户界面
http://[IP]:[PORT:8080]/
网络
bridge
特权
false

模板配置

Web UI PortPorttcp

Container Port: 8080

目标
8080
默认值
8080
价值
8080
Database Connection URLVariable

Postgres database connection URL

目标
DATABASE_URL
默认值
postgres://POSTGRES_USER:POSTGRES_PASSWORD@POSTGRES_IP:5432/AuthPortaldb?sslmode=disable
价值
postgres://POSTGRES_USER:POSTGRES_PASSWORD@POSTGRES_IP:5432/AuthPortaldb?sslmode=disable
App Base URLVariable

Public URL of this service. If using HTTPS, cookies will be marked Secure.

目标
APP_BASE_URL
默认值
http://IP_ADDRESS:PORT
价值
http://IP_ADDRESS:PORT
Trusted Proxy CIDR RangesVariable

Comma-separated list of trusted proxy CIDR ranges for forwarded headers

目标
TRUSTED_PROXY_CIDRS
Media ServerVariable

Type of media server to authenticate against

目标
MEDIA_SERVER
默认值
plex|emby|jellyfin
Session SecretVariable

HMAC secret for JWT cookie

目标
SESSION_SECRET
Data KeyVariable

Base64 32-byte key for sealing tokens at rest

目标
DATA_KEY
Force Secure CookieVariable

Set to 1 to force Secure on cookies (behind TLS/ingress)

目标
FORCE_SECURE_COOKIE
默认值
0|1
Force HSTS HeaderVariable

Set to 1 to force HSTS headers even if APP_BASE_URL is http (when TLS terminates upstream)

目标
FORCE_HSTS
默认值
0|1
Authorized Page - External URLVariable

External URL on authorized page

目标
LOGIN_EXTRA_LINK_URL
Authorized Page - External URL TextVariable

Text for external URL on authorized page

目标
LOGIN_EXTRA_LINK_TEXT
Unauthorized Page Request - EmailVariable

Email address for unauthorized page request access link

目标
UNAUTH_REQUEST_EMAIL
Unauthorized Page Request - Email SubjectVariable

Subject for unauthorized page request access email

目标
UNAUTH_REQUEST_SUBJECT
Plex - Owner TokenVariable

Token from Plex server owner; used to validate server membership.

目标
PLEX_OWNER_TOKEN
Plex - Server Machine IDVariable

Machine ID of your Plex server (preferred over name).

目标
PLEX_SERVER_MACHINE_ID
Plex - Server NameVariable

Optional: Plex server name (used if machine ID not set).

目标
PLEX_SERVER_NAME
Emby - Server URLVariable

URL of your Emby server (e.g. http://IP:PORT).

目标
EMBY_SERVER_URL
Emby - Server API KeyVariable

API key from your Emby server.

目标
EMBY_API_KEY
Emby - App NameVariable

Name of the Emby application (for client headers).

目标
EMBY_APP_NAME
默认值
AuthPortal
价值
AuthPortal
Emby - App VersionVariable

Version of the Emby application (for client headers).

目标
EMBY_APP_VERSION
Jellyfin - Server URLVariable

URL of your Jellyfin server (e.g. http://IP:PORT).

目标
JELLYFIN_SERVER_URL
Jellyfin - Server API KeyVariable

API key from your Jellyfin server.

目标
JELLYFIN_API_KEY
Jellyfin - App NameVariable

Name of the Jellyfin application (for client headers).

目标
JELLYFIN_APP_NAME
默认值
AuthPortal
价值
AuthPortal
Jellyfin - App VersionVariable

Version of the Jellyfin application (for client headers).

目标
JELLYFIN_APP_VERSION
OIDC Provider - Signing KeyVariable

PEM-encoded private key for OIDC ID token signing

目标
OIDC_SIGNING_KEY
OIDC Provider - Issuer URLVariable

Issuer URL for OIDC provider (should match APP_BASE_URL)

目标
OIDC_ISSUER_URL
默认值
http://IP_ADDRESS:PORT
价值
http://IP_ADDRESS:PORT
Trusted Redirect HostsVariable

Optional, comma-separated allow-list for absolute OIDC redirect_uri hosts

目标
TRUSTED_REDIRECT_HOSTS
Log LevelVariable

Logging level

目标
LOG_LEVEL
默认值
INFO|DEBUG|WARN|ERROR

下载统计数据

10,162
下载总数

详细信息

存储库
modomofn/auth-portal:latest
最后更新2026-05-19
初见2025-08-21

在Unraid 上运行 AuthPortal 。

AuthPortal 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。