deck9 / input

A privacy-focused, no-code, open-source form builder designed for simplicity and brand consistency.
https://getinput.co
GNU Affero General Public License v3.0
196 stars 30 forks source link

No login after entering 2FA code #175

Open SystemFuchs opened 1 month ago

SystemFuchs commented 1 month ago

Hi there, I activated 2FA in user settings. Logged out & logged in again, getting the prompt for 2FA token after entering password. Pressing login & nothing happens.

Following is seen in the Docker logs:

getinput-input-1 | 192.168.178.22 - - [10/Oct/2024:07:03:21 +0000] "GET /icons/site.webmanifest HTTP/1.1" 200 448 "https://input.mydomain.de/two-factor-challenge" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36" "192.168.178.24" 0.000 - . -

Checked the browser console & there are no errors logged. Any help is appreciated.

PhilReinking commented 1 month ago

@SystemFuchs you should be able to inspect logs with docker logs command. Can you please check if you see any errors there?

SystemFuchs commented 1 month ago

2024-10-10 09:31:44,606 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2024-10-10 09:31:44,606 INFO success: php-fpm entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)

   INFO  No scheduled commands are ready to run.

192.168.178.22 - - [10/Oct/2024:09:33:00 +0000] "GET / HTTP/1.1" 302 394 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" "168.119.7.226, 172.68.194.152" 1.055 1.055 . -
192.168.178.22 - - [10/Oct/2024:09:33:00 +0000] "GET /login HTTP/1.1" 200 8909 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" "168.119.7.226, 172.68.194.152" 0.402 0.402 . -
192.168.178.22 - - [10/Oct/2024:09:33:00 +0000] "GET /build/app/assets/app-qul_oDvB.css HTTP/1.1" 200 12677 "https://input.cloud-fuchs.de/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" "168.119.7.226, 162.158.111.15" 0.000 - . -
192.168.178.22 - - [10/Oct/2024:09:33:00 +0000] "GET /build/app/assets/app-DI1U8BDg.js HTTP/1.1" 200 113805 "https://input.cloud-fuchs.de/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" "168.119.7.226, 172.68.194.146" 0.000 - . -
192.168.178.22 - - [10/Oct/2024:09:33:00 +0000] "GET /build/app/assets/Login-BJu5FKfr.js HTTP/1.1" 200 1482 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" "168.119.7.226, 162.158.111.72" 0.000 - . -
192.168.178.22 - - [10/Oct/2024:09:33:00 +0000] "GET /build/app/assets/_plugin-vue_export-helper-DlAUqK2U.js HTTP/1.1" 200 91 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" "168.119.7.226, 162.158.110.88" 0.000 - . -
192.168.178.22 - - [10/Oct/2024:09:33:00 +0000] "GET /build/app/assets/ApplicationLogo-D1Avtnsx.css HTTP/1.1" 200 245 "https://input.cloud-fuchs.de/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" "168.119.7.226, 162.158.111.66" 0.000 - . -
192.168.178.22 - - [10/Oct/2024:09:33:00 +0000] "GET /build/app/assets/ApplicationLogo.vue_vue_type_style_index_0_lang-DcCAKLeO.js HTTP/1.1" 200 1198 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" "168.119.7.226, 162.158.110.236" 0.000 - . -
192.168.178.22 - - [10/Oct/2024:09:33:00 +0000] "GET /build/app/assets/ValidationErrors-Iq6hfl17.js HTTP/1.1" 200 439 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" "168.119.7.226, 172.68.194.141" 0.000 - . -
192.168.178.22 - - [10/Oct/2024:09:33:00 +0000] "GET /build/app/assets/AuthenticationCard-Cwbrcd00.js HTTP/1.1" 200 345 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" "168.119.7.226, 162.158.111.191" 0.000 - . -
192.168.178.22 - - [10/Oct/2024:09:33:00 +0000] "GET /build/app/assets/ui-p8l9DXat.js HTTP/1.1" 200 60955 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" "168.119.7.226, 162.158.110.37" 0.000 - . -
192.168.178.22 - - [10/Oct/2024:09:33:00 +0000] "GET /icons/favicon.ico HTTP/1.1" 200 2995 "https://input.cloud-fuchs.de/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" "168.119.7.226, 172.68.194.221" 0.000 - . -
192.168.178.22 - - [10/Oct/2024:09:33:00 +0000] "GET /icons/site.webmanifest HTTP/1.1" 200 448 "https://input.cloud-fuchs.de/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" "168.119.7.226, 172.69.151.16" 0.000 - . -
192.168.178.22 - - [10/Oct/2024:09:33:33 +0000] "POST /login HTTP/1.1" 302 454 "https://input.cloud-fuchs.de/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" "168.119.7.226, 172.71.144.74" 0.592 0.592 . -
192.168.178.22 - - [10/Oct/2024:09:33:33 +0000] "GET /two-factor-challenge HTTP/1.1" 200 326 "https://input.cloud-fuchs.de/login" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" "168.119.7.226, 172.71.144.74" 0.031 0.031 . -
192.168.178.22 - - [10/Oct/2024:09:33:33 +0000] "GET /build/app/assets/TwoFactorChallenge-C68Lwa_N.js HTTP/1.1" 200 1351 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" "168.119.7.226, 172.71.144.117" 0.000 - . -

   INFO  No scheduled commands are ready to run.```

There are no errors in the log and there seems to be no submission of the entered values.
SystemFuchs commented 1 month ago

If I try a recovery code instead I'm seeing the following error in the browser console:

image

PhilReinking commented 1 month ago

@SystemFuchs I will have a look at it and see if I can replicate it