-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Cannot create personal access token under user preferences #23129
Comments
It should definitely work for spec:
components:
cheServer:
extraProperties:
CHE_INTEGRATION_AZURE_DEVOPS_APPLICATION__SCOPES: "vso.code_write"
CHE_OAUTH_AZURE_DEVOPS_AUTHURI: "https://app.vssps.visualstudio.com/oauth2/authorize"
CHE_OAUTH_AZURE_DEVOPS_TOKENURI: "https://app.vssps.visualstudio.com/oauth2/token"
CHE_INTEGRATION_AZURE_DEVOPS_API_ENDPOINT: "https://vssps.dev.azure.com"
CHE_INTEGRATION_AZURE_DEVOPS_SCM_API__ENDPOINT: "https://dev.azure.com" |
@tolusha the config you provide only available for azure devops service. In my case, i use azure devops server. |
Also update the CHE_INTEGRATION_AZURE_DEVOPS_API_ENDPOINT with my azure devops server url, still eclispe che use the default https://vssps.dev.azure.com as you can see in the below error message PS: do we have the document (exhausted list) of extraProperties |
Double check if che-server pod is restarted.
Unfortunately I can't find them in our documentation. |
@tolusha I checked the env vars, they are all correct. Is there any env var I have to set beside these 3?
In the link you shared, it says
One more question, do you know where I can find logs after adding the Personal access token. I check all che components' log but cant find them |
I bileve it should be enough to add PAT
They are available if log level set to DEBUG When PAT is added, we simply validte it by requesting the user profile as below [1]. If use can't be retrieve, then PAT is considered to be invalid and can't be added. |
@huonguyenlt |
@tolusha no, I am not able to do it. I think it does not support azure server. |
Describe the bug
Cannot add personal access token with provider Microsoft azure devops
Error: Token "test" was not added because it is not valid.
Che version
7.89
Steps to reproduce
Create PAT on azure devops

Add the PAT to che

Error after add the token

Expected behavior
Should be able to add the PAT
Runtime
other (please specify in additional context)
Screenshots
No response
Installation method
other (please specify in additional context)
Environment
Amazon
Eclipse Che Logs
No response
Additional context
Che cluster is deployed on EKS
The text was updated successfully, but these errors were encountered: