What's Changed
- docs: trust every forwarding hop in APP_TRUSTED_PROXIES behind Traefik and Cloudflare by @GilbN in #253
- Feat/OIDC auth by @GilbN in #255
Added
- Sign in through an OpenID Connect identity provider (Authelia, Authentik, Keycloak, Pocket ID, Google) with the authorization code flow and PKCE. Configure
OIDC_ISSUER,OIDC_CLIENT_ID,OIDC_CLIENT_SECRET,OIDC_REDIRECT_URIand an allow list (OIDC_ALLOWED_USERSby verified email or subject,OIDC_ALLOWED_GROUPS). The login page shows a provider button, the password form, or both.OIDC_LOGOUT_IDP=truealso ends the provider session on logout and lands on a signed-out page. Settings > Status shows whether the provider's discovery document could be fetched.GET /api/v1/auth/optionsreports the available login methods andGET /api/v1/auth/oidc/statusthe discovery outcome.
Changed
- Sessions end 7 days after login instead of 7 days after the last request, and every login issues a fresh session id.
APP_ADMIN_PASSWORDis optional when OpenID Connect is configured; without it the password form is hidden andPOST /api/v1/auth/loginanswers 401.POST /api/v1/auth/logoutanswers 200 with{"redirectTo": null}(or the identity provider's end session URL) instead of 204./auth/mereports the loginprovider.- Anonymous API requests no longer receive a session cookie.
Full Changelog: v0.16.0...v0.17.0