Relative Content

Tag Archive for quarkus

How to resolve connection refused error between API and Keycloak containers

I’m creating a quarkus api with postgres and Keycloak and uploading it to containers.
I am first uploading the keycloak and postgres containers, after uploading I configure keycloak to authenticate my Api endpoints and then I enter the OIDC settings in my application.properties file and upload the application container.
The application container goes up but does not connect with the keycloak and returns the following:

Issue with quarkus ServerExceptionMapper

I’m trying to configure an exception to return a http 400: bad request with a custom message in quarkus.
By default a BAD_REQUEST returns without a message, and that is not what I want.