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 262 forks source link

the 2fa part doesn't work #291

Closed anasp84 closed 5 months ago

anasp84 commented 6 months ago

what am i supposed to do in the 2fa part, it doesn't work like in the video anymore i tried navigating manually to the page but it doesn't work

Rezaariaa commented 6 months ago

i have this problem !

maduro0077 commented 6 months ago

To get around the MFA registration, after you login to the website, click to register the device and it will ask for a code. To get the code, goto your server and enter this command to get the code.... show_2fa After you issue the command, it will say it has sent you an email but the actual email body and code will be printed in terminal after you issue the show_2fa command. Then you can get to the captcha to add clients to wireguard.

notthebee commented 5 months ago

Authelia changed their 2FA interface since the video was made. @maduro0077 's instructions should work.