Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No 2FA fails #13

Open
NikosVlagoidis opened this issue Nov 11, 2017 · 4 comments
Open

No 2FA fails #13

NikosVlagoidis opened this issue Nov 11, 2017 · 4 comments
Assignees

Comments

@NikosVlagoidis
Copy link

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

@DakotaNelson
Copy link
Contributor

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

@NikosVlagoidis
Copy link
Author

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
Copy link
Author

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
Copy link
Author

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>

@ustayready ustayready self-assigned this Nov 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants