Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
TOTP broken
« previous
next »
Print
Pages: [
1
]
2
Author
Topic: TOTP broken (Read 2830 times)
yohighnest
Newbie
Posts: 16
Karma: 0
TOTP broken
«
on:
March 23, 2023, 08:17:23 am »
Hi,
can anybody confirm totp working on a fresh default install of 23.x? I installed opnsense in a kvm base vm.
I did all the steps to setup totp but its not working. the test is failing. i tried:
-multipe auth apps (google, ms)
-diffrent user
-reset to factory defaults
-token as suffix&prefix
-time settings on smartphone and opnsense
Error is always: Authentication failed.
any ideas?
Yo
«
Last Edit: March 23, 2023, 08:25:48 am by yohighnest
»
Logged
tofflock
Newbie
Posts: 34
Karma: 3
Re: TOTP broken
«
Reply #1 on:
March 23, 2023, 11:54:35 am »
Hi
Have you checked the dates on both ends?
BTW, I use FreeOTP (Ver 2.0.1 (42)) on Android - works well & appears stable.
PeterF
Logged
jamest65
Newbie
Posts: 8
Karma: 0
Re: TOTP broken
«
Reply #2 on:
March 23, 2023, 01:15:55 pm »
Bumping this as I had the same issue today.
Logged
yohighnest
Newbie
Posts: 16
Karma: 0
Re: TOTP broken
«
Reply #3 on:
March 24, 2023, 08:06:27 am »
i tried FreeOTP (Ver 2.0.1 (42)) on Android and was not able to add the token via QR Code. If i add the token manual (TOTP/6 Digits/SHA-1) it shows the same code as the Google Authenticator.
Logged
yohighnest
Newbie
Posts: 16
Karma: 0
Re: TOTP broken
«
Reply #4 on:
March 24, 2023, 08:08:50 am »
yes i checked the dates on both ends.
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: TOTP broken
«
Reply #5 on:
March 24, 2023, 09:18:09 am »
The answer is wrong password 99,99% of the time.
Either due to differing keyboard mappings (for special characters in particular), wrong time on one end (for TOTP), token order reversal (for TOTP) or selecting the wrong authentication server (expecting a different one).
Just use the built-in tester on the OPNsense itself. If it works the problem lies elsewhere and if not let us know.
Cheers,
Franco
Logged
yohighnest
Newbie
Posts: 16
Karma: 0
Re: TOTP broken
«
Reply #6 on:
March 24, 2023, 09:26:37 am »
@franco, i can give you access, feel free to test yourself, the firewall is absoulte default config, even the root pwd is unchanged.
Logged
dmark
Newbie
Posts: 24
Karma: 1
Re: TOTP broken
«
Reply #7 on:
March 24, 2023, 12:43:18 pm »
Is the server clock running with exact time?
Logged
yohighnest
Newbie
Posts: 16
Karma: 0
Re: TOTP broken
«
Reply #8 on:
March 24, 2023, 01:17:17 pm »
Time on the Dashboard and the devices where the Auth App is running is the same.
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: TOTP broken
«
Reply #9 on:
March 24, 2023, 01:47:01 pm »
> the firewall is absoulte default config
It's still one of those things I mentioned
First make sure the tester works, then inspect password for special characters, check settings for auth (where, what, who). If you don't have an OTP token for the user this will fail, but that would be easily confirmable by the tester...
Cheers,
Franco
Logged
yohighnest
Newbie
Posts: 16
Karma: 0
Re: TOTP broken
«
Reply #10 on:
March 24, 2023, 03:55:06 pm »
wth the only thing im using is the tester.
Logged
yohighnest
Newbie
Posts: 16
Karma: 0
Re: TOTP broken
«
Reply #11 on:
March 27, 2023, 09:14:52 pm »
if time window is not the default value (30sec), totp is broken for me.
Logged
franco
Administrator
Hero Member
Posts: 17660
Karma: 1611
Re: TOTP broken
«
Reply #12 on:
March 27, 2023, 09:17:11 pm »
Then perhaps your client doesn't support it. Remember when you said "the firewall is absoulte default config". I do.
Cheers,
Franco
Logged
yohighnest
Newbie
Posts: 16
Karma: 0
Re: TOTP broken
«
Reply #13 on:
March 27, 2023, 09:53:06 pm »
which client franco? im using the internal tester..
Logged
yohighnest
Newbie
Posts: 16
Karma: 0
Re: TOTP broken
«
Reply #14 on:
March 27, 2023, 09:54:31 pm »
please read yourself franco im saying the test is failing in my first post.
Logged
Print
Pages: [
1
]
2
« previous
next »
OPNsense Forum
»
Archive
»
23.1 Legacy Series
»
TOTP broken