Open siavelis opened 1 week ago
@siavelis, we recently changed the way we generate the authentication code. Was it working before version 2.5.0?
@ricardozanini thank you for the follow up! I have tried with versions: 2.4.7 and 2.4.2 but there is the same issue
I'll take a look once I have the time. If you can, please, send a PR to fix it.
Hello!
There is an issue in the authentication logic, as it is not always applied.
How to reproduce:
Result:
Possible workaround/fixes:
CompositeAuthenticationProvider:canFilter
uses the url path from the Openapi specification to decide whether to apply authentication or not. Hence the suggestion would be to include a case when the rest client has a prefix in the base url pathquarkus.openapi-generator.codegen.default-security-scheme
will not rectify the issueVersions used: