fabric8-platform icon indicating copy to clipboard operation
fabric8-platform copied to clipboard

eclipse che error Invalid parameter: redirect_uri

Open mtbvang opened this issue 6 years ago • 0 comments

Going to https://che-developer-che.192.168.150.2.nip.io brings me to the following keycloak url after I enter my openshift credentials https://sso.openshift.io/auth/realms/fabric8/protocol/openid-connect/auth?response_type=code&client_id=openshiftio-public&redirect_uri=https%3A%2F%2Fche-developer-che.192.168.150.2.nip.io%2F&state=4%2F51b4e033-4721-4538-837d-432623fea8b9&login=true&scope=openid

and it shows the error message:

WE'RE SORRY ...
Invalid parameter: redirect_uri

Keycloak pod logs

22:08:19,804 WARN  [org.keycloak.events] (default task-35) type=IDENTITY_PROVIDER_RETRIEVE_TOKEN_ERROR, realmId=247d1825-deed-4d5d-8c5e-042a62e9506f, clientId=null, userId=null, ipAddress=192.168.150.1, error=Invalid token.
--
  | 22:08:19,804 ERROR [org.keycloak.services.resources.IdentityBrokerService] (default task-35) Invalid token.

oc version oc v3.7.0+7ed6862 kubernetes v1.7.6+a08f5eeb62 features: Basic-Auth GSSAPI Kerberos SPNEGO

Server https://192.168.150.2:8443 openshift v3.7.0+7ed6862 kubernetes v1.7.6+a08f5eeb62

fabric8 deployed with gofabric8 command gofabric8 deploy --package system -n fabric8 --legacy false --github-client-id ${githubClientId} --github-client-secret ${githubSecret}

mtbvang avatar Mar 30 '18 22:03 mtbvang