Details
-
Bug
-
Resolution: Won't Do
-
Critical
-
CRW 2.0.1
-
devex docs #181 Mar 11-Mar 31, devex docs #182 Apr 1-Apr 21, devex docs #184 May 13-Jun 2, devex docs #185 Jun 3-Jun 25, devex docs #187 Jul 16-Aug 6, devex docs #188 Aug 6-Aug 28, devex docs #189 Aug 28-Sep 18, devex docs #190 Sep 18-Oct 8, devex docs #191 Oct 8-Oct 29
-
1
-
Description
Customer wants to obtain a OpenShift token through Keycloak using curl command on docs[0], but it did not work well with 500 status code.
[0] 5.1.1. Authenticating to the CodeReady Workspaces server
- 5.1.1.1.2. Obtaining the token from the OpenShift token through Keycloak
https://access.redhat.com/documentation/en-us/red_hat_codeready_workspaces/2.0/html-single/administration_guide/index#authenticating-to-the-codeready-workspaces-server
$ curl -X POST -d "client_id=<client_name>" \ --data-urlencode "grant_type=urn:ietf:params:oauth:grant-type:token-exchange" \ -d "subject_token=<user_openshift_token>" \ -d "subject_issuer=<openshift_identity_provider_name>" \ --data-urlencode "subject_token_type=urn:ietf:params:oauth:token-type:access_token" \ http://<keyckloak_host>:5050/auth/realms/<realm_name>/protocol/openid-connect/token