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

logging into Hugging Face with a token, prompts for username/password? #709

Open
miabbott opened this issue Feb 2, 2025 · 1 comment
Open
Assignees

Comments

@miabbott
Copy link

miabbott commented Feb 2, 2025

After getting ramalama and huggingface_hub installed, I tried to login to Hugging Face with a token. I was surprised to see that I was prompted for a username and password.

$ export RAMALAMA_TRANSPORT=huggingface
$ ramalama login --token hf_...
Username: [email protected]
Password: 
Login Succeeded!

I was able to leave the password field blank, but why am I getting prompted at all? Shouldn't the token be enough to access HF?

Edit: yup, I just posted a full token in this comment...it was read-only, but I've already deleted it

@dougsland
Copy link
Collaborator

As I am working in the #698, let me try this one too. Probably I will need your help for both @miabbott

@dougsland dougsland self-assigned this Feb 2, 2025
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

2 participants