Code Monkey home page Code Monkey logo

Comments (9)

alexking avatar alexking commented on June 14, 2024

Ran into an issue like this, turned out I needed to login to my Microsoft account on my web browser to add a secondary email address

from headlessmc.

ItsJerzy avatar ItsJerzy commented on June 14, 2024

Ran into an issue like this, turned out I needed to login to my Microsoft account on my web browser to add a secondary email address

So adding secondary email and using it to login fixes the issue?

from headlessmc.

3arthqu4ke avatar 3arthqu4ke commented on June 14, 2024

Have you also checked whats going on at https://account.live.com/activity?

from headlessmc.

ItsJerzy avatar ItsJerzy commented on June 14, 2024

Have you also checked whats going on at https://account.live.com/activity?

Incorrect password entered. My paassword is random sequence of characters, including for example \ this may couse errors?

from headlessmc.

3arthqu4ke avatar 3arthqu4ke commented on June 14, 2024

Oh I think so, will have to fix that. For now you have to escape every \ with another \, so \\. You also need to escape " with \.

from headlessmc.

fragmuffin avatar fragmuffin commented on June 14, 2024

I'm having a similar issue:

$ docker run --rm -it 3arthqu4ke/headlessmc
$ hmc login [email protected] "passw0rd"
Logging in...
Failed to log you in: Invalid credentials or tokens
me.earth.headlessmc.launcher.auth.AuthException: Invalid credentials or tokens
        at me.earth.headlessmc.launcher.auth.AccountManager.login(AccountManager.java:62)
        at me.earth.headlessmc.launcher.command.login.LoginCommand.lambda$login$0(LoginCommand.java:56)
        at me.earth.headlessmc.launcher.command.login.LoginCommand.execute(LoginCommand.java:41)
        at me.earth.headlessmc.command.CommandContextImpl.executeCommand(CommandContextImpl.java:44)
        at me.earth.headlessmc.command.CommandContextImpl.execute(CommandContextImpl.java:31)
        at me.earth.headlessmc.launcher.QuickExitCliHandler.checkQuickExit(QuickExitCliHandler.java:47)
        at me.earth.headlessmc.launcher.Main.runHeadlessMc(Main.java:86)
        at me.earth.headlessmc.launcher.Main.main(Main.java:35)

Which, has my details redacted... but the output is identical.
I've triple-checked the email and password, even copy/pasting from command-line into a web-login.
My account has 2FA, so I suspect this is due to #90

from headlessmc.

ItsJerzy avatar ItsJerzy commented on June 14, 2024

Yea, that may be the reason

from headlessmc.

3arthqu4ke avatar 3arthqu4ke commented on June 14, 2024

Oh I think so, will have to fix that. For now you have to escape every \ with another \, so \\. You also need to escape " with \.

Have you also tried this out?

from headlessmc.

ItsJerzy avatar ItsJerzy commented on June 14, 2024

Oh I think so, will have to fix that. For now you have to escape every \ with another \, so \\. You also need to escape " with \.

Have you also tried this out?

Yea, I tried

from headlessmc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.