org.keycloak.common.VerificationException: Invalid token issuer. Expected 'http://localhost:8180/auth/realms/myrealm', but was 'http://192.168.178.24:8180/auth/realms/myrealm'


Solutions on the web

Solution icon of stackoverflow
Invalid token issuer. Expected 'http://localhost:8180/auth/realms/myrealm', but was 'http://192.168.178.24:8180/auth/realms/myrealm'

Stack trace

org.keycloak.common.VerificationException: Invalid token issuer.
            Expected 'http://localhost:8180/auth/realms/myrealm', but was 'http://192.168.178.24:8180/auth/realms/myrealm'
	at org.keycloak.TokenVerifier.verify(TokenVerifier.java:156)
	at org.keycloak.RSATokenVerifier.verify(RSATokenVerifier.java:89)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

25 times, 9 months ago