Uploaded image for project: 'Keycloak'
  1. Keycloak
  2. KEYCLOAK-2638

Access to keycloak login page from nodejs application fails.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Done
    • 1.9.0.Final, 1.9.1.Final
    • 1.9.2.Final
    • Adapter - Node.js
    • None
    • Hide

      1) create a new Realm
      2) create a new Client named demo
      3) create the keycloak.json file then copy/past information from installation tab
      4) start the nodejs server (see attachment server.js)
      5) connect to the server (http://localhost:3000) then click on demo link

      Show
      1) create a new Realm 2) create a new Client named demo 3) create the keycloak.json file then copy/past information from installation tab 4) start the nodejs server (see attachment server.js) 5) connect to the server ( http://localhost:3000 ) then click on demo link

    Description

      When my application try to access to the keycloak login page, keycloak server log this error :

      09:38:48,820 ERROR [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-11) RESTEASY002010: Failed to execute: javax.ws.rs.NotFoundException: RESTEASY003210: Could not find resource for full path: http://xxx.xxx.xxx.xxx/auth/realms/scilab/tokens/login?client_id=demo&state=f844fd87-b25d-47c4-89a7-0b1c8b55e9af&redirect_uri=http%3A%2F%2F192.168.1.158%3A3000%2Fdemo%3Fauth_callback%3D1

      Full log in attachment.

      Attachments

        1. keycloak.log
          21 kB
          Cédric Delamarre
        2. server.js
          0.8 kB
          Cédric Delamarre

        Activity

          People

            Unassigned Unassigned
            cedscilab Cédric Delamarre (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: