Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-101

Unexpected error when authenticating with OpenShift oAuth identity provider

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.1.GA
    • 1.0.0.GA
    • None
    • None
    • Hide

      Root cause of error is that router and api are using different certs.

      Show
      Root cause of error is that router and api are using different certs.
    • Hide

      1. Install CRW from server image brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/codeready-workspaces/server-container:1.0-19 with TLS and OpenShift oAuth support
      2. Go to CRW login page
      3. Click on "Openshift oAuth" button and try to login as admin/admin

      Show
      1. Install CRW from server image brew-pulp-docker01.web.prod.ext.phx2.redhat.com:8888/codeready-workspaces/server-container:1.0-19 with TLS and OpenShift oAuth support 2. Go to CRW login page 3. Click on "Openshift oAuth" button and try to login as admin/admin

      There was an error in time of loging into CRW as admin user:

      Keycloak logs
      14:26:05,929 ERROR [org.keycloak.broker.oidc.AbstractOAuth2IdentityProvider] (default task-115) Failed to make identity provider oauth callback: java.net.UnknownHostException: master.ndp-test-311.dynamic.xpaas: Name or service not known
          at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
          at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)
      

      There was Openshift oAuth Provider existed in keycloak:

              Unassigned Unassigned
              dnochevn Dmytro Nochevnov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: