Skip to content
Discussion options

You must be logged in to vote
  • 系统:Archlinux

  • 环境:Podman 容器

    • Alist容器 + Postgres 容器
    • Nginx Proxy Manager 容器对 Alist 进行二级目录的反代 + Cloudflared 容器走 tunnel
  • 版本:latest

  • 搜索以及阅读过文档。

  • 目前没有发现类似的 issue 或讨论。

  • 不清楚是什么原因导致的。

问题描述

  • 无法添加 Webauthn 。能够进行读取密钥,输入PIN,但在最后网页提示 “Error validating origin”。

添加 Webauthn 过程的日志

[GIN] 2023/11/17 - 16:36:55 | 200 |     397.657µs |   客户端的IP  | GET      "/alist/api/authn/webauthn_begin_registration"
[GIN] 2023/11/17 - 16:37:04 | 200 |     588.256µs |   客户端的IP  | POST     "/alist/api/authn/webauthn_finish_registration"

添加 Webauthn 的过程中真的只有这两行日志。

做过的一些检查

  • 按照文档中所说检查过 config.json,确认过正确了 site_url
  • 按照文档中所说的设置了 Nginx 的配置,不过有些导致了奇怪的情况,因此最终没有添加进去。
  • 删除容器与数据卷并重新创建,在创建容器后只修改了用户名与密码。

Nginx Proxy Manager 中的设置

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by zweie
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants