[GH-ISSUE #111] Couldn't authenticate user: missing Two Factor Authentication (TFA) #45

Closed
opened 2026-02-26 17:37:00 +03:00 by kerem · 3 comments
Owner

Originally created by @onlineapps-cloud on GitHub (Aug 24, 2024).
Original GitHub issue: https://github.com/Corsinvest/cv4pve-admin/issues/111

Bug type

Other

Component name

No response

What happened?

hi, i have PVE with 2fa enabled, but on configuration stage i cannot find where to put 2fa, when i want to go next, i get this error: Couldn't authenticate user: missing Two Factor Authentication (TFA)
image

Expected behavior

i expect to put 2fa base32 key to automatic generate 2fa code or get modal window with prompt to enter 2fa code.

Relevant log output

No response

Proxmox VE Version

8.2.4

Version (bug)

1.1.2

Version (working)

No response

What browsers are you seeing the problem on?

Firefox

On what operating system are you experiencing the issue?

Linux

Pull Request

  • I would like to do a Pull Request

Code of Conduct

  • I agree to follow this project's Code of Conduct
Originally created by @onlineapps-cloud on GitHub (Aug 24, 2024). Original GitHub issue: https://github.com/Corsinvest/cv4pve-admin/issues/111 ### Bug type Other ### Component name _No response_ ### What happened? hi, i have PVE with 2fa enabled, but on configuration stage i cannot find where to put 2fa, when i want to go next, i get this error: Couldn't authenticate user: missing Two Factor Authentication (TFA) ![image](https://github.com/user-attachments/assets/9ecfb799-6119-444d-9ef5-de2ff2232dbb) ### Expected behavior i expect to put 2fa base32 key to automatic generate 2fa code or get modal window with prompt to enter 2fa code. ### Relevant log output _No response_ ### Proxmox VE Version 8.2.4 ### Version (bug) 1.1.2 ### Version (working) _No response_ ### What browsers are you seeing the problem on? Firefox ### On what operating system are you experiencing the issue? Linux ### Pull Request - [ ] I would like to do a Pull Request ### Code of Conduct - [X] I agree to follow this project's Code of Conduct
kerem closed this issue 2026-02-26 17:37:00 +03:00
Author
Owner

@franklupo commented on GitHub (Aug 24, 2024):

2fa is not for this case. use a user without 2fa or api token

Best regards

<!-- gh-comment-id:2308462882 --> @franklupo commented on GitHub (Aug 24, 2024): 2fa is not for this case. use a user without 2fa or api token Best regards
Author
Owner

@onlineapps-cloud commented on GitHub (Aug 24, 2024):

ok, please help me in one moment, to give permission to API token, i generated api token, but i get error: Permission check failed (/, Sys.Audit)
i checked that my API token don't have any permission, but i don't know how to give permission to my token
image
bu my user have all permissions
image

<!-- gh-comment-id:2308465917 --> @onlineapps-cloud commented on GitHub (Aug 24, 2024): ok, please help me in one moment, to give permission to API token, i generated api token, but i get error: Permission check failed (/, Sys.Audit) i checked that my API token don't have any permission, but i don't know how to give permission to my token ![image](https://github.com/user-attachments/assets/f575dbc0-a825-438b-9a3e-b5617b61c5a1) bu my user have all permissions ![image](https://github.com/user-attachments/assets/2806c5e1-668b-4a84-8cc2-5272df912b88)
Author
Owner

@onlineapps-cloud commented on GitHub (Aug 24, 2024):

i put api token in this format: root@pam!test=fb0acc61-0c2f-4fec-...

<!-- gh-comment-id:2308467974 --> @onlineapps-cloud commented on GitHub (Aug 24, 2024): i put api token in this format: `root@pam!test=fb0acc61-0c2f-4fec-...`
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cv4pve-admin#45
No description provided.