CredSniper icon indicating copy to clipboard operation
CredSniper copied to clipboard

No 2FA fails

Open NikosVlagoidis opened this issue 7 years ago • 4 comments

When I try to spin an instance without the 2FA it fails the creation of the Certificate and leads to the issue #11 .

NikosVlagoidis avatar Nov 11 '17 09:11 NikosVlagoidis

Hi @NikosVlagoidis - can you provide steps to reproduce? What command (or series of commands) are you running that results in the error?

DakotaNelson avatar Nov 11 '17 10:11 DakotaNelson

Hello I used installation guide on a fresh Digital Ocean droplet. Choose no on two-factor phising. then I got an error for the missing certificates. Even if I put my own certificates with letsencrypt the install.sh script failed. When I decide to put two-factor phising everything worked. Now I cannot reproduce it as everything works fine even without the 2fa.

NikosVlagoidis avatar Nov 11 '17 10:11 NikosVlagoidis

Testing the module without 2fa and noticed 2 things. No creds kept when even if I successful redirect. And also google calls me for 2 factor. Is that an expected behavior?

NikosVlagoidis avatar Nov 11 '17 10:11 NikosVlagoidis

Also, I cannot set the config when posting on /config endpoint.

{{domain}}/config?api_token= {{token}} the request is:

{
    "api_token": "token",
    "enable_2fa": true,
    "module": "gmail"
}

Response is

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>400 Bad Request</title>
<h1>Bad Request</h1>
<p>The browser (or proxy) sent a request that this server could not understand.</p>

NikosVlagoidis avatar Nov 11 '17 10:11 NikosVlagoidis