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

issue with private bitbucket repo #74

Closed
Riadz opened this issue Jan 16, 2023 · 3 comments
Closed

issue with private bitbucket repo #74

Riadz opened this issue Jan 16, 2023 · 3 comments

Comments

@Riadz
Copy link

Riadz commented Jan 16, 2023

Environment

OS: Windows 10
Node: v16.17.0

Reproduction

i created a new private empty bitbucket repo for this issue, so i don't mind sharing the key :).

npx giget bitbucket:riad_hachemane/test-giget-bitbucket --auth kuhyURjJB7gMoqURJMIP

Describe the bug

@pi0
am having trouble with a private bitbucket repo, the auth token is not working,
i created a new private empty bitbucket repo for this issue, so i don't mind sharing the key :).
steps i made to get to this issue:

1) make public bitbucket repo, and used giget, works as expected ✅

2023-01-16 09_36_43-Window

2) made that repo private, also as expected ✅

2023-01-16 09_41_04-Window

3) add a "Repository Access Token" from bitbucket dashboard, and give it all permissions ✅

2023-01-16 09_55_22-Window

4) use it with --auth, doesn't work ❌

2023-01-16 09_55_55-Window

Additional context

No response

Logs

No response

@Riadz
Copy link
Author

Riadz commented Jan 16, 2023

update: bitbucket actually returns a response when using CURL

2023-01-16 10_36_55-Window

hope this is helpful.

@Dominic-Marcelino
Copy link

@Riadz I think that's related to #46

The bitbucket endpoint also doesn't seem to accept the scoped token. Try to use an account-token

@pi0
Copy link
Member

pi0 commented Dec 23, 2023

let's track via #104

@pi0 pi0 closed this as completed Dec 23, 2023
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

3 participants