Skip to content

Admin client not working with administration console on a separate hostname #201

Description

@bpasson

Describe the bug

When you deploy the Keycloak Admin Console on a different hostname, the admin client is only able to get a token. Any call to an API will result in a http 404 not found.

Version

26.5.x, 26.4.x

Expected behavior

I would expect to be able to access the API endpoints on the separate hostname.

Actual behavior

All requests but grants for tokens give a http 404

How to Reproduce?

No response

Anything else?

Follow the following steps:

  1. Start a keycloak something like: bin/kc.[sh|bat] start --hostname https://my.keycloak.org --hostname-admin https://admin.my.keycloak.org:8443
  2. Try to use the admin client.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions