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

Specify different `authServerUrl` for server vs. browser.

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • Minor
    • None
    • None
    • Adapter - Node.js
    • None
    • NEW
    • NEW

    Description

      I'm using the keycloak-connect middleware for node.js, and I have an issue with the authServerUrl config option.

      For the node app where the middleware is applied, the keycloak server will be reachable by some private URL which is not reachable over the internet.

      For the browser application which will be redirected to the keycloak login page, the keycloak server will be reachable by a public URL, which is not reachable from inside the private network.

      It would be technically possible for me to change how my network is setup so that both the frontend and backend can reach the keycloak server from an identical URL, but I don't want to have to do this.

      It would be great if I could specify two different urls for reaching the keycloak server: one for my server-side app to talk to, and one for the browser-side app to be redirected to. Is this possible?

      Attachments

        Issue Links

          Activity

            Public project attachment banner

              context keys: [headless, issue, helper, isAsynchronousRequest, project, action, user]
              current Project key: KEYCLOAK

              People

                Unassigned Unassigned
                camjackson_jira Cam Jackson (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: