Skip to content

Error: {errors: ["IAM: Invalid issuer. Expected ... IAM_URLs don't match for internal calls - error message  #962

@rohit-joy

Description

@rohit-joy

We have a requirement where Keycloak is on a different port internally in Kubernetes. And Registry needs to talk to it directly. This means it needs to use the service port of the Keycloak pod. Let's say port 8443.

But it seems the library you are using is asserting the Public URL which does not require the port per the /.well-known/openid-configuration. So it fails the request immediately.

  • CR Service to Keycloak Service calls should be able to use the internal cluster routing to reach the pod and hit port 8443 with HTTPS.
  • Browser to Keycloak Service calls would use port 443 (regular HTTPS).

Let me know if you have questions.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Passed QA

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions