Upgraded keycloak from 22.0.1. I am getting Issuer error as there is a mismatch between the issue uri from realm settings against the token issued.
Example:
Issuer-uri from admin console:
http://keycloak.abc-auth.svc.cluster.local:9003/realms/TEST01
Issuer-uri in token :
http://keycloak.abc-auth.svc.cluster.local/realms/TEST01
The port number was missing in the issuer uri in the JWT token. Keycloak was running in kubernetes and for 25.0.6, KC_HOSTNAME_STRICT was set to false.
While running version 22.0.1, both issuer URIs were matching and there was not issue in authorization.
Where the configuration may be missing to have this port number mismatch?