You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#37361 should allow us to set quarkus.oidc-client.client-enabled=false and use the @OidcClientFilter annotated REST client without trying (and failing) to acquire a token.
This is currently not the case:
io.quarkus.oidc.client.runtime.DisabledOidcClientException: 'Default' client configuration is disabled
at io.quarkus.oidc.client.runtime.OidcClientRecorder$DisabledOidcClient.getTokens(OidcClientRecorder.java:251)
at io.quarkus.oidc.client.runtime.TokensHelper.getTokens(TokensHelper.java:43)
at io.quarkus.oidc.client.runtime.AbstractTokensProducer.getTokens(AbstractTokensProducer.java:65)
at io.quarkus.oidc.client.reactive.filter.runtime.AbstractOidcClientRequestReactiveFilter.filter(AbstractOidcClientRequestReactiveFilter.java:31)
Expected behavior
Calling methods of the annotated REST client should not throw a DisabledOidcClientException.
Actual behavior
The call aborts with a DisabledOidcClientException.
Describe the bug
#37361 should allow us to set
quarkus.oidc-client.client-enabled=false
and use the@OidcClientFilter
annotated REST client without trying (and failing) to acquire a token.This is currently not the case:
Expected behavior
Calling methods of the annotated REST client should not throw a
DisabledOidcClientException
.Actual behavior
The call aborts with a
DisabledOidcClientException
.How to Reproduce?
application.properties
RestClient.java
Call this client's method
Output of
uname -a
orver
No response
Output of
java -version
No response
Quarkus version or git rev
3.10.2
Build tool (ie. output of
mvnw --version
orgradlew --version
)No response
Additional information
No response
The text was updated successfully, but these errors were encountered: