refactor: make use of GitLab client-go oauth2 helpers
Description
- refactor: use x/oauth2 for refreshing token
Follow-up of fix: glab auth login to work with mTLS by using... (!2165 - merged)
Related Issues
Resolves #1426 (closed)
How has this been tested?
Screenshots (if appropriate):
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 Timo Furrer