AuthPortal

AuthPortal

Self-hosted SSO gateway for Plex, Jellyfin and Emby

81stars
2forks
Last commit: 1mo ago
Repo age: 1y old

AuthPortal is a lightweight, Go-built authentication gateway that provides a unified login experience for Plex, Jellyfin, and Emby users. It issues signed session cookies, offers an admin console, and can act as an OAuth 2.1 / OIDC authorization server for downstream apps. (github.com)

Key Features

  • Unified login flows for Plex (PIN flow), Jellyfin, and Emby with provider-specific handling.
  • Signed, HTTP-only JWT session cookies and session lifecycle management.
  • Optional TOTP-based multi-factor authentication with recovery codes and per-tenant enforcement.
  • Built-in OAuth 2.1 / OIDC endpoints (discovery, JWKS, token, userinfo) with PKCE and refresh support.
  • Admin SPA for runtime config editing (providers, security, MFA), OAuth client management, and encrypted config backups with scheduling/retention. (github.com)

Use Cases

  • Provide single sign-on for a media-focused community (Plex/Jellyfin/Emby) across internal portals and apps.
  • Act as a lightweight first-party OIDC authorization server for home-lab or intranet applications.
  • Centralize MFA enforcement, OAuth client lifecycle, and runtime configuration for downstream services.

Limitations and Considerations

  • Designed for same-origin / intranet scenarios; production use requires proper HTTPS reverse proxy and careful key management (SESSION_SECRET, DATA_KEY).
  • Relies on Postgres for user/profile storage and expects you to manage DB availability, backups, and secret rotation. (github.com)

AuthPortal is intended for self-hosting in home-lab and media community environments. It emphasizes a small runtime footprint, containerized deployment, and extensible provider support while requiring operators to follow security best practices and manage secrets and backups carefully. (github.com)

Categories:

Tags:

Tech Stack:

Share:

Similar Services

Keycloak

Keycloak

Open-source identity and access management with SSO

32.3k
8k
Last commit: 21h ago

Keycloak is an open-source IAM server providing single sign-on, user federation, and centralized authentication and authorization using OIDC, OAuth 2.0, and SAML.

Alternative to:
Okta
Okta
+19
Authelia

Authelia

Self-hosted IAM with SSO and multi-factor authentication

26.4k
1.3k
Last commit: 1d ago

Authelia is an open-source IAM and authentication server providing SSO, MFA, and access control for web apps, with OpenID Connect/OAuth 2.0 and reverse-proxy integration.

Alternative to:
Auth0
Auth0
+16
authentik

authentik

Open-source Identity Provider (IdP) for SSO, OIDC, and SAML

19.7k
1.4k
Last commit: 17h ago

Open-source IdP delivering SSO, OAuth2/OIDC, SAML2, LDAP, RADIUS, MFA, WebAuthn, conditional access and application-proxy capabilities for self-hosted deployments.

Alternative to:
Okta
Okta
+19
OAuth2 Proxy

OAuth2 Proxy

Reverse proxy and middleware for OAuth2/OIDC authentication

13.6k
2k
Last commit: 21h ago

OAuth2 Proxy is a reverse proxy and middleware that protects web apps with OAuth2/OIDC login and forwards authenticated user identity to upstream services.

Alternative to:
Cloudflare Access
Cloudflare Access
+14
Casdoor

Casdoor

UI-first IAM and SSO platform for modern authentication

12.9k
1.5k
Last commit: 23h ago

Casdoor is an open-source, UI-first IAM/SSO platform supporting OAuth 2.0, OIDC, SAML, LDAP, SCIM, WebAuthn and MFA, with an admin web UI and SDKs.

Alternative to:
Okta
Okta
+19
ZITADEL

ZITADEL

API-first identity and access management platform for applications

12.7k
916
Last commit: 1d ago

ZITADEL is an open source IAM/CIAM platform providing SSO, MFA, OIDC/OAuth2, SAML, user management, and multi-tenant organizations with audit logging.

Alternative to:
Auth0
Auth0
+19