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

add configuration property option realmPublicKey

    Details

      Description

      In some environments it is desirable to configure a realms public key using a configuration object rather than the keycloak.json file. The realm key is the only configuration option that does not have a javascript property name.

      let kcConfig = {
        clientId: 'someapi',
        bearerOnly: true,
        serverUrl: 'http://localhost:8080/auth',
        realm: 'test-realm',
        realmPublicKey: 'MIIBIjANBgkqhkiG9w0BA ... IDAQAB'
      };
       
      let keycloak = new Keycloak({}, kcConfig);
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                abstractj Bruno Oliveira
                Reporter:
                abstractj Bruno Oliveira
                Tester:
                Vaclav Muzikar
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: