when i use
@Inject
JsonWebToken jwt;
in function that returning Uni, it always show this error
Cannot call getIdentity() from the IO thread when lazy authentication is in use, as resolving the identity may block the thread. Instead you should inject the CurrentIdentityAssociation, call CurrentIdentityAssociation#getDeferredIdentity() and subscribe to the Uni.
is there any example how to use JWT in quarkus resteasy reactive ?
the error goes away if i use @Blocking in the function. thanks.