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

Keycloak Rest API Documentation Shows Wrong base path

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Obsolete
    • None
    • Backlog
    • Documentation

    Description

      In Keycloak Documentation
      https://www.keycloak.org/docs-api/4.5/rest-api/index.html#_key_resource
      The base path is written as BasePath: /auth. By using only /auth as a base value, endpoint is not accessible. For example
      curl -H "Authorization: bearer

      {TOKEN}" "http://localhost:8181/auth/demorealm/keys"
      The about curl always returns 404. But when we add /admin/realms after base path then it works.
      curl -H "Authorization: bearer {TOKEN}

      " "http://localhost:8181/auth/admin/realms/demorealm/keys"

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sherrykhan_jira Shaharyar Khan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: