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

Private repositories #294

Closed
thebino opened this issue Dec 30, 2024 · 3 comments
Closed

Private repositories #294

thebino opened this issue Dec 30, 2024 · 3 comments

Comments

@thebino
Copy link

thebino commented Dec 30, 2024

I want to add a private repository to my glance.
The token is only required for extended requests, would it be possible to also use a token for accessing the repo if present?

@svilenmarkov
Copy link
Member

Hey, I tried this out and was having trouble with giving the right permissions to the fine-grained token, so used a classic one instead with access to private repositories and that worked just fine.

@thebino
Copy link
Author

thebino commented Jan 1, 2025

what permission did you use? I used a classic token and selected admin, read:packages, read:org, user and read:project. Also SSO is enabled for the used org

@thebino
Copy link
Author

thebino commented Jan 1, 2025

read:enterprise was the missing one. Now it works fine for me

@thebino thebino closed this as completed Jan 1, 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