mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-10-07 13:48:43 +08:00
Merge pull request #4920 from alexj11324/feat/passkey-auth
feat: add passkey authentication
This commit is contained in:
@@ -72,6 +72,22 @@ server:
|
||||
# 每个流的最大上传缓冲区(字节,默认 512KB)
|
||||
max_upload_buffer_per_stream: 524288
|
||||
|
||||
# =============================================================================
|
||||
# WebAuthn / Passkey Configuration
|
||||
# WebAuthn / Passkey 配置
|
||||
# =============================================================================
|
||||
# Passkeys require HTTPS in production. The RP ID is the domain only (no scheme
|
||||
# or port), while RP origins are exact browser origins.
|
||||
# Passkey 在生产环境要求 HTTPS。RP ID 只填写域名(不含协议和端口),RP origins
|
||||
# 填写浏览器访问使用的完整 Origin。
|
||||
webauthn:
|
||||
enabled: false
|
||||
rp_display_name: "Sub2API"
|
||||
# Example / 示例: "sub2api.example.com"
|
||||
rp_id: ""
|
||||
# Example / 示例: ["https://sub2api.example.com"]
|
||||
rp_origins: []
|
||||
|
||||
# =============================================================================
|
||||
# Run Mode Configuration
|
||||
# 运行模式配置
|
||||
|
||||
Reference in New Issue
Block a user