When selecting "Use authenticator app", on a 2FA location, I get the following error:
Could not start MFA process. Please try again or contact administrator.
With the application in Trace mode, I see the following log:
[2024-10-27][21:57:44][INFO][defguard_client::commands] Instances retrieved(1)
[2024-10-27][21:57:44][INFO][defguard_client::commands] Instances retrieved(1)
[2024-10-27][21:57:45][INFO][defguard_client::utils] Successfully fetched WireGuard keys for location TestLocation
[2024-10-27][21:57:45][INFO][defguard_client::utils] Fetched location stats for location ID 3
[2024-10-27][21:57:45][INFO][defguard_client::utils] Fetched location details for location ID 3
While this could be a networking error on my server side (due to closing down some ports and access when not on VPN after establishing that it worked), however, I believe this might be a common onboarding headache, and more logging around it could be useful to users like me.
When selecting "Use authenticator app", on a 2FA location, I get the following error:
Could not start MFA process. Please try again or contact administrator.
With the application in Trace mode, I see the following log:
While this could be a networking error on my server side (due to closing down some ports and access when not on VPN after establishing that it worked), however, I believe this might be a common onboarding headache, and more logging around it could be useful to users like me.
Looking at the source, it's coming from:
https://github.com/DefGuard/client/blob/301fbd90c7efe0cec39ee3755bd6b09b3a38195c/src/pages/client/pages/ClientInstancePage/components/LocationsList/modals/MFAModal/MFAModal.tsx#L112
However, when trying to debug exactly what the error might be, I ended up being blocked by #253