Gitlab Api is requested if any (not Gitlab) PAT is added. #23374
Labels
area/che-server
kind/bug
Outline of a bug - must adhere to the bug report template.
severity/blocker
Causes system to crash and be non-recoverable or prevents Che developers from working on Che code.
Describe the bug
Gitlab
getUser()
API is requested, even if a non Gitlab token is added or a token secret is generated via a non Gitlab oauth. The request is called when we fetch username and email to fill the workspace's gitconfig.Che version
7.99@latest
Steps to reproduce
CheCluster
yaml with:See: Gitlab api request is executed:
Expected behavior
The api request must not be executed.
Runtime
OpenShift
Screenshots
No response
Installation method
chectl/latest, chectl/next
Environment
macOS
Eclipse Che Logs
Additional context
No response
The text was updated successfully, but these errors were encountered: