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

Support for CI/CD job tokens? #678

Closed
marcelstoer opened this issue Mar 26, 2021 · 0 comments · Fixed by #1188
Closed

Support for CI/CD job tokens? #678

marcelstoer opened this issue Mar 26, 2021 · 0 comments · Fixed by #1188

Comments

@marcelstoer
Copy link
Contributor

marcelstoer commented Mar 26, 2021

I was wondering how to use this library with GitLab CI/CD job tokens. Does currently not seem to be supported, correct?

I don't find any reference anymore in the GitLab documentation but to authenticate against the API with job tokens you need to use the header JOB-TOKEN instead of PRIVATE-TOKEN.

Side note: there's TokenType.ACCESS but I did not find any reference to it (unused?).

jmini added a commit to jmini/gitlab4j-api that referenced this issue Nov 1, 2024
@jmini jmini closed this as completed in c393f61 Nov 6, 2024
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

Successfully merging a pull request may close this issue.

1 participant