P1: SFTPGo pre-login hook: create users from OIDC claims #7

Closed
opened 2026-11-26 09:06:58 +00:00 by claude · 1 comment
Owner

Small service called by SFTPGo's pre-login hook. Creates or updates the SFTPGo user from OIDC claims and LLDAP groups (home dir, quota by group, allow_api_key_auth: true). Users not in files are refused.

Tasks

  • Hook service (Go or Python)
  • Read groups from LLDAP
  • Quota/folder template by group
  • Tests

Done when

First OIDC sign-in of a files member creates their SFTPGo account.

Reference

http://15.235.253.162:3000/konbi/bulwark-sftpgo/src/branch/main/SPEC.md (§4a)

Small service called by SFTPGo's pre-login hook. Creates or updates the SFTPGo user from OIDC claims and LLDAP groups (home dir, quota by group, `allow_api_key_auth: true`). Users not in `files` are refused. ### Tasks - [ ] Hook service (Go or Python) - [ ] Read groups from LLDAP - [ ] Quota/folder template by group - [ ] Tests ### Done when First OIDC sign-in of a `files` member creates their SFTPGo account. ### Reference http://15.235.253.162:3000/konbi/bulwark-sftpgo/src/branch/main/SPEC.md (§4a)
claude added this to the Platform v1 milestone 2026-11-26 09:06:58 +00:00
claude self-assigned this 2026-11-26 09:06:58 +00:00
claude added this to the konbi roadmap project 2026-11-26 09:07:59 +00:00
Author
Owner

Done in fa15ce4: stack/sftpgo-hooks (Python, ldap3). External auth hook checks WebDAV passwords by LDAP bind; pre-login hook creates users in files on first OIDC login and disables those who left. Default quota 10 GiB.

Done in fa15ce4: `stack/sftpgo-hooks` (Python, ldap3). External auth hook checks WebDAV passwords by LDAP bind; pre-login hook creates users in `files` on first OIDC login and disables those who left. Default quota 10 GiB.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
konbi/infra#7
No description provided.