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

keycloak.js requires varying config structures when provided via config-URL or config object

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 10.0.1
    • Fix Version/s: None
    • Component/s: Adapter - JavaScript
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      create a new keycloak instance by either using:

      const keycloak = new Keycloak(configObject)
      

      or:

      const keycloak = new Keycloak('http://localhost:8080/myapp/keycloak.json')
      
      Show
      create a new keycloak instance by either using: const keycloak = new Keycloak(configObject) or: const keycloak = new Keycloak( 'http: //localhost:8080/myapp/keycloak.json' )
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      Depending on how the config from a generated keycloak.json is provided, keycloak.js requires different parameters to be present:

      Parameter as object via constructor via configUrl
      server URL url auth-server-url
      client ID clientId resource

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                remolueoend remolueoend .
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: