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

get token script doesn't work if MFA is enabled #304

Open
Flowwwww opened this issue Nov 15, 2023 · 2 comments
Open

get token script doesn't work if MFA is enabled #304

Flowwwww opened this issue Nov 15, 2023 · 2 comments

Comments

@Flowwwww
Copy link

No description provided.

@demonbane
Copy link
Collaborator

The log in method is just there as a backup option if all other methods fail. The best way to handle the log in is to just log in via the Web UI and claim the server and then re-run the script.

While there is a PIN login flow available, it's not worth implementing since it would require you to log in through your browser, at which point you're just back to claiming your server.

If I get time I'll see if we get enough info back from the API call to at least provide an informative error message telling you to log in through the Web UI first.

@SawkeeReemo
Copy link

SawkeeReemo commented Mar 29, 2024

Hey, I'm just installing this for the first time, and I think I'm running into this issue as well. But I'm already logged into my server, and have been for a while. Everything is good. But I can't log in with the script, so it's not allowing me to automate installing the beta releases. Is there any way around this? I don't want to turn off MFA.

EDIT: So, I just disabled 2FA, then set up the script, the re-enabled 2FA. Seems like that worked. Will that still work moving forward?

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