Connect Git providers with OAuth
|
To enable the experimental feature that forces a refresh of the personal access token on workspace startup in Eclipse Che, modify the Custom Resource configuration as follows:
|
You can configure OAuth between Che and Git providers, enabling users to work with remote Git repositories:
Refresh an expired access token automatically
Refresh expired access tokens automatically on workspace startup so that developers do not encounter authentication failures caused by stale personal access tokens.
|
This is an experimental feature. |
-
An active
kubectlsession with administrative permissions to the destination Kubernetes cluster. See Overview of kubectl.
-
Modify the
CheClusterCustom Resource to enable forced token refresh:spec: components: cheServer: extraProperties: CHE_FORCE_REFRESH_PERSONAL_ACCESS_TOKEN: "true"
-
Start a new workspace and verify that the personal access token is refreshed by checking the Che server logs.