MFA TOTP Authenticator - "Failed to validate the code"
Maintainer thường phản hồi trong vòng 2 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Ít trao đổi
- Công nghệ
- python
- Lĩnh vực
- authentication, security
Hướng nghiên cứu
Start by reproducing the MFA registration flow using the reported config_local.py settings on the listed Ubuntu and pgAdmin setup. Trace the TOTP validation path reached after scanning the QR code and entering the authenticator code. Done means valid TOTP codes are accepted during registration and the regression is covered by an appropriate test.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
When registering for MFA using TOTP code, it gives error "Failed to validate the code".
To Reproduce
Steps to reproduce the behavior:
sudo apt install pgadmin4-web- Create
config_local.pyto force MFA via TOTP.
########################################################################
# Two-factor Authentication Configuration
########################################################################
# Set it to True, to enable the two-factor authentication
MFA_ENABLED = True
# Set it to True, to ask the users to register forcefully for the
# two-authentication methods on logged-in.
MFA_FORCE_REGISTRATION = True
# pgAdmin supports Two-factor authentication by either sending an one-time code
# to an email, or using the TOTP based application like Google Authenticator.
MFA_SUPPORTED_METHODS = ["authenticator"]
########################################################################
- Login via pgadmin4 web & scan TOTP QR code in Google authenticator.
- Enter TOTP code from authenticator.
- Get error message "Failed to validate the code".
- OS: Ubuntu 22.04.5 LTS, Linux-6.8.0-106-generic-x86_64-with-glibc2.35
- pgAdmin version: 9.13
- Mode: Server
- Browser (if running in server mode): Chrome 146.0.0.0
- Package type: DEB
- Python version: 3.10.12
I am accessing /pgadmin4 web via an insecure IP address.
- Ngôn ngữ chính
- Python
- Star
- 3.9k
- Fork
- 918
- Merge trung bình
- 2 ngày 12 giờ
- Pull request đã merge (30 ngày)
- 35
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pgadmin-org/pgadmin4
-
Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
pgadmin-org/pgadmin4#10673 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Import/Export Data fails for a file name containing a backslash, and creates a stray file named EĐang mởBug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
pgadmin-org/pgadmin4#10672 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
pgadmin-org/pgadmin4#10426 · 3 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Drag-n-drop file to sql editor tool don't clear previous content before adding the new content in windowsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởFeature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
pgadmin-org/pgadmin4#10272 · 5 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
Housekeeping
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
pgadmin-org/pgadmin4#10157 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
Tất cả issue của pgadmin-org/pgadmin4
Issue tương tự
-
cli good first issue help wanted python up-for-grabs
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
andrewsiah/agentswarm-data-tasks#36 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug drawing-tools
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
cofade/open-garden-planner#827 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Methodology pageĐang mởdocumentation site texts
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 67/100
Krasnopjorovs/temet#66 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày