Giter VIP home page Giter VIP logo

Comments (5)

funnyflowerpot avatar funnyflowerpot commented on July 19, 2024

I think I have the same problem. I can set habitica-uid and habitica-token and habitica-tasks works without flaws. However, when I do C-x t t as OP said, then I get:

error in process filter: Wrong authorization used for https://habitica.com/api/v3/tasks/[REDACTED]/score/up

Amazing idea though and thanks for this implementation!

from emacs-habitica.

SysH-north avatar SysH-north commented on July 19, 2024

i added api and token to config file, but it still ask for password when I press ctrl x t t

I know that this answer is late ,but if you still encounter the same issue, try to uncomment the two lines for the id and token in your conf file, by deleting ";;"

from emacs-habitica.

kamni avatar kamni commented on July 19, 2024

I can confirm this is still an issue. Steps to reproduce:

;; init.el
(use-package habitica
  :config
  (setq habitica-uuid "<redacted>")
  (setq habitica-token "<redacted>"))

Then I do M-x habitica-tasks and get a list of all my tasks.

I try to complete one of my tasks (C-x t t) and it prompts me for my username and password.

Expected behavior: if I set my uuid and token, I should never be prompted for a username and password.

from emacs-habitica.

kamni avatar kamni commented on July 19, 2024

A little more information: it seems that when I use C-x t t the task does get completed on the Habitica website.

However, I get this prompt, which seems to be executing after the task is completed:

Username [for https://habitica.com/.../score/up]:

There isn't a way to exit it without hitting C-g a couple of times.

I've searched the code, and it doesn't match the login prompt for habitica-login, nor is there the word "Username" (upper case first letter)" in the code. This seems to be coming from url-util from the auth library. Not sure why this is triggering, but hope this information is useful to troubleshoot it!

from emacs-habitica.

thomas-louvigne avatar thomas-louvigne commented on July 19, 2024

same problem

from emacs-habitica.

Related Issues (10)

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.