After signing in with keycloak I get redirect back to my drupal site, but here I get the error that the tokens could not be retrieved. I'm using Traefik in combination with Docker. My host address is 'keycloak.localhost'
The error
Could not retrieve tokens. Details: cURL error 6: Could not resolve host: keycloak.localhost (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://keycloak.localhost/realms/vmvv/protocol/openid-connect/token
I also tried it with the localhost path, but here the connection gets refused.
Could not retrieve tokens. Details: cURL error 7: Failed to connect to 127.0.0.1 port 8180: Connection refused (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://127.0.0.1:8180/realms/vmvv/protocol/openid-connect/token
Any idea how to configure either Keycloak or Drupal to make this work locally?
Closed: works as designed
2.2
Miscellaneous