-
Bug
-
Resolution: Done
-
Critical
-
Dev Spaces 3.0
-
devex docs #219 May 19-Jun 9
-
5
-
-
---
-
---
The docs are still referencing Authentication header with Bearer token.
Meanwhile, only thing that's available to us is `_oauth_proxy` cookie (with which the calls seem to work, for the most part.
oc patch checluster devspaces --type merge -p '{ "spec": { "server": {"customCheProperties": {"CHE_SYSTEM_SUPER__PRIVILEGED__MODE": "true"} } }}' -n openshift-devspaces oc patch checluster devspaces --type merge -p '{ "spec": { "server": {"customCheProperties": {"CHE_SYSTEM_ADMIN__NAME": "admin"} } }}' -n openshift-devspaces oc patch checluster devspaces --patch "{\"spec\":{\"server\":{\"customCheProperties\": {\"CHE_KEYCLOAK_CASCADE__USER__REMOVAL__ENABLED\": \"true\"}}}}" --type=merge -n openshift-devspaces curl -ki -X GET --cookie '_oauth_proxy=<cookie>' 'https://devspaces-openshift-devspaces.apps.ocp410-bmakam.crw-qe.com/api/user' curl -ki -X GET --cookie '_oauth_proxy=<cookie>' 'https://devspaces-openshift-devspaces.apps.ocp410-bmakam.crw-qe.com/api/user/find?name=user' curl -ki -X DELETE --cookie '_oauth_proxy=<cookie>' 'https://devspaces-openshift-devspaces.apps.ocp410-bmakam.crw-qe.com/api/user/78821e99-9da7-479b-ac82-29d19ba6e53d'
All the commands above work as intended, except for the last one, but that's described in https://issues.redhat.com/browse/CRW-3017