The source project of this merge request has been removed.
feat: allow to provide custom client-id
-
Please check this box if this contribution uses AI-generated content as outlined in the GitLab DCO & CLA
Description
I would like to be able to use my own GitLab OAuth2.0 application, this change will allow me to set a custom OAuth2.0 client-id
via additional CLI parameter called with --client-id
glab config set client_id XXX --host YYY
Related Issues
Resolves:
Removes:
How has this been tested?
- Add OAuth2.0 application to GitLab, write down its client-id
- Apply suggested change
- Run
glab config set client_id <CLIENT_ID> --host <HOSTNAME>
- Run
glab auth login --hostname <HOSTNAME>
Screenshots (if appropriate):
N/A
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms) -
Test gap
Edited by Viacheslav Vasilyev