I am trying to secure my application using keycloak.
I use angular for my frontend and spring boot for my backend.
Using only http, everything works fine, the problem is, if I want to use HTTPS along side HTTP, I am having a problem with the backend throwing an error like:
o.k.a.BearerTokenRequestAuthenticator : Failed to verify token
org.keycloak.common.VerificationException: Invalid token issuer. Expected 'http://myDomain/auth/realms/realmName', but was 'https://myDomain/auth/realms/realmName'
in my properties file I do have the: keycloak.auth-server-url and it is pointing to the http://my-keycloak/auth
Is there a way to support http and https with keycloak ?