notthebee / ansible-easy-vpn

An Ansible playbook that sets up a Wireguard server with ad blocking, DNS-over-HTTPS, and a WebUI with 2FA
Other
1.09k stars 261 forks source link

2FA funcion is not working #301

Open iranica1 opened 3 months ago

iranica1 commented 3 months ago

hi , when I try to set up 2fa as mentioned in the video and opening the link generated by show_2fa command it gives me "failed to revoke the one-time code" error message in authelia, Also I tried the provided code however again Ive got error message :The One-Time Code either doesn't match the one generated or an unknown error occurred" that led me to not have a QR code and stock at this stage. So please advise how to tackle this issue? or perhaps is there any way that let to bypass 2FA step ?

Turkmen48 commented 2 months ago

same

Turkmen48 commented 2 months ago

idk how did I exactly solved that problem but somehow it magicaly worked. First I spammed the show_2fa code many times and added my phone. But after that it didnt automatically redirect to wireguard page. Then I realize that my url is not https. Than I tried the https://wg.myvpn.duckdns.org/ url and it worked.

rcinformatica1 commented 2 months ago

Estou enfrentando o mesmo problema, a questão de autenticação do show_2fa , não funciona da forma correta, ele não autentica, e fala que o código está errado... e agora o que fazer ? , como resolver isso.