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

it still ask for username & password #20

Open
longlu opened this issue Apr 4, 2020 · 5 comments
Open

it still ask for username & password #20

longlu opened this issue Apr 4, 2020 · 5 comments

Comments

@longlu
Copy link

longlu commented Apr 4, 2020

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

@funnyflowerpot
Copy link

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!

@SysH-north
Copy link

SysH-north commented Oct 1, 2021

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 ";;"

@kamni
Copy link

kamni commented Apr 18, 2022

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.

@kamni
Copy link

kamni commented Apr 18, 2022

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!

@thomas-louvigne
Copy link

same problem

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

5 participants