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
Unanswered
External OIDC RestClient Auth


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

https://quarkus.io/guides/security-openid-connect-multitenancy#quarkus-oidc_quarkus.oidc.named-tenants-additional-named-tenants

Create a filter implementing ClientRequestFilter as can be found here:
https://quarkus.io/guides/security-openid-connect-client-reference#named-oidc-clients

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

And finally annotate your RestClient Interfaces to use this filter:

Example:

@RegisterRestClient(configKey = "keycloak")
@RegisterProvider(KeycloakOidcClientRequestFilter.class)
@Path("/clients")
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
363 Views
0 Answers
one year ago
one year ago