linkding
linkding copied to clipboard
Feature request: Better SSO/OpenID integration
- Support disabling the password change dialog and hiding the link to it in the Settings page (e.g.
LD_ALLOW_PASSWORD_CHANGE, defaulttrue). This will not just benefit OpenID support but also proxy header-based authentication. - Support OpenID Connect Discovery 1.0 (e.g.
OIDC_OP_DISCOVERY_BASE_URL, which accepts the base URL of the OpenID provider such ashttps://auth.example.comto retrievehttps://auth.example.com/.well-known/openid-configuration). This is an alternative toOIDC_OP_AUTHORIZATION_ENDPOINT,OIDC_OP_TOKEN_ENDPOINT,OIDC_OP_USER_ENDPOINTandOIDC_OP_JWKS_ENDPOINT. - Support disabling local login, so that when an unauthenticated user visits Linkding, Linkding immediately attempts OIDC authentication instead of the user seeing a login form and needing to press a button (e.g.
OIDC_LOGIN_AUTO). Alternatively, just make this the default (similar to whenLD_ENABLE_AUTH_PROXY=true). - Support redirect after logout for when OpenID is configured (e.g.
OIDC_LOGOUT_URL). This is similar toLD_AUTH_PROXY_LOGOUT_URL. Alternatively, just supportLD_LOGOUT_URLfor all forms of authentication.
It would be also nice if staff and superuser could be set via claims and not only manually on the admin interface. The used library would support it, but I can't find an option to change the login flow to integrate that.