joshpatten / PVE-VDIClient

Proxmox based VDI client
Apache License 2.0
727 stars 100 forks source link

login with 2fa not working #86

Open Truciolo99 opened 8 months ago

Truciolo99 commented 8 months ago

Hi, I've enabled TFA in config

auth_totp=true

but after typing username, password and OTP Key I got "Invalid username and/or password, please try again!" Schermata del 2023-11-30 09-03-19

crazychatting commented 6 months ago

same here. how can I provide more debugging infos?

joshpatten commented 6 months ago

To verify, you are able to log in with this user to the Proxmox web interface?

On Sat, Jan 27, 2024 at 1:12 PM Robin Loose @.***> wrote:

same here. how can I provide more debugging infos?

— Reply to this email directly, view it on GitHub https://github.com/joshpatten/PVE-VDIClient/issues/86#issuecomment-1913299323, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIP64TWBZNKRUPPQVVAZOLYQVGSNAVCNFSM6AAAAABAAXYXROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJTGI4TSMZSGM . You are receiving this because you are subscribed to this thread.Message ID: @.***>

crazychatting commented 6 months ago

correct, doing this almost every day. TOTP works fine with realm pve and pam via web interface

addelovein commented 6 months ago

Proxmox changed the API, proxmoxer code is not changed... There is an issue where ive posted the way Proxmox does the OTA with an Bash example... But no response there for weeks... Sadly since its the only Wrapper that is usable (well maybe not anymore) Thinking of writing my own instead, but have to many projects right now... :-/

joshpatten commented 6 months ago

I'm going to see if I can make some progress on this today. I didn't realize that the API changed.

On Sat, Feb 17, 2024, 3:47 PM Adde Lovein @.***> wrote:

Proxmox changed the API, proxmoxer code is not changed... There is an issue where ive posted the way Proxmox does the OTA with an Bash example... But no response there for weeks... Sadly since its the only Wrapper that is usable (well maybe not anymore) Thinking of writing my own instead, but have to many projects right now... :-/

— Reply to this email directly, view it on GitHub https://github.com/joshpatten/PVE-VDIClient/issues/86#issuecomment-1950391312, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABIP64V4RD7TYEGGAU3M6TLYUEQNLAVCNFSM6AAAAABAAXYXROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJQGM4TCMZRGI . You are receiving this because you commented.Message ID: @.***>

addelovein commented 6 months ago

Since you use Proxmoxer API its in their repo you will need to do the change.

It is the Proxmox API that changed and proxmoxer hasnt updated... Just to be clear. ;-)

jpattWPC commented 6 months ago

I submitted a PR: https://github.com/proxmoxer/proxmoxer/pull/158 to the proxmoxer library. I verified this worked with the VDI client.