Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
External OIDC RestClient Auth

Das ist eher eine Quarkus Frage. Wir haben eine externe Restclient, die über ein zweite Keycloak daten anbietet, die ich konsumieren muss.
Soweit ich sehe sind quarkus.oidc-client.* properties kann ich nur eine auth-url geben. Es gibt die Annotation @NamedOidcClient, aber ich sehe keine Implementation für ein RestClient.
und dann in app properties

Habt ihr hier eine Implementation? Google hat mir nicht so gut geholfen. Es gibt mehrere solche Fragen in Stackoverflow die unbeantwortet sind.

Posted one year ago
Votes Newest


Hi, we are implementing multiple rest clients with different auth server using multi-tenancy and ClientRequestFilter for getting tokens.


Create a filter implementing ClientRequestFilter as can be found here:

Configure multiple tenants in application.json/application.yaml.

And finally annotate your RestClient Interfaces to use this filter:


@RegisterRestClient(configKey = "keycloak")
public interface KeycloakClientsResource ...

cheers luke

Posted one year ago
Lucas Reeh
108 × 4 Administrator

Thank you very much! I will try and get back :-)

Anand Natampalli   one year ago Report

This worked with client credentials flow. We have a new situation now, where I need to access the data with implicit flow. That implies that I need to login with a service account user. Do you have any tips for that?

Anand Natampalli   one year ago Report
1 Answer
one year ago
one year ago