alist-org / alist

🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序,使用 Gin 和 Solidjs。
https://alist.nn.ci
GNU Affero General Public License v3.0
39.38k stars 5.11k forks source link

通过第三方登录时动态创建用户基础目录(包括但不限于LDAP、OAuth2.0) #6558

Open bearki opened 1 month ago

bearki commented 1 month ago

Please make sure of the following things

Description of the feature / 需求描述

自动为第三方登录账号分配用户基础目录

Suggested solution / 实现思路

通过第三方认证平台登录后,使用该账号的用户名创建用户基础目录; 配置项Ldap默认路径使用动态配置可以解决该问题,值类似/${uid}这种方式来动态生成用户目录

Additional context / 附件

No response

welcome[bot] commented 1 month ago

Thanks for opening your first issue here! Be sure to follow the issue template!