9001 / 9001/copyparty

Allow TOTPs for login

未关闭
#869 0 条评论 5 个 reaction 已指派 1 人 已被 @9001 认领 在 GitHub 查看
enhancement
主要语言
Python
星标
46.6k
派生
1.9k
平均合并
10 天 16 小时
30 天内合并 PR
5

描述

I think it would be a good idea to allow [TOTPs](https://en.wikipedia.org/wiki/Time-based_one-time_password) to be used for login, as it would improve security when people run this as an internet-exposed instance.

Using IdPs is an alternative, however for more simple use-cases I think something like this would be a lot easier and more convenient to set up.

Secrets could be specified in the config file, and then users could add those to their preferred authenticator

One implementation of this is [PyOTP](https://pyauth.github.io/pyotp/#time-based-otps)

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。