- 🇧🇪Belgium BramDriesen Belgium 🇧🇪
I guess this is solved by now, and it's not a module issue :) thanks for the help though @esolitos
I'm trying to create a development environment with Docker and docker-compose, authenticating against a Keycloak server exposed on localhost.
That means that the user needs to be redirected to http://localhost:8081/auth, whereas the backends needs to speak with (say) http://keycloak:8080/auth.
That means that the module should take two URL parameters for configuration, and the getEndpoints
method should return the endpoints correspondingly - i.e., assuming that one URL is _only_ for the back end and the other _only_ for the front end.
Whereas my use case is building a dev environment, the backend service URL and frontend auth URL might also differ in a production environment e.g. because of a firewall with the server restricted to internal addresses for outgoing requests, so the use case is important.
Run a Keycloak exposed to the user on localhost, to Drupal as "keycloak". Try to configure with either as auth URL - see it fail.
It should be possible to specify two Keycloak base URLs, one for redirect and one for Drupal server to access.
* Add this field in GUI
* Change module correspondingly
One new URL parameter is added, "Keycloak Redirect URL". This should be optional, i.e. it is not needed if the base URL is also accessible for the user, in the browser.
None.
The new URL parameter is also stored in the configuration.
Closed: outdated
1.5
Miscellaneous
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
I guess this is solved by now, and it's not a module issue :) thanks for the help though @esolitos