quarkiverse / quarkus-openapi-generator

OpenAPI Generator - REST Client Generator
Apache License 2.0
124 stars 88 forks source link

CompositeAuthenticationProvider does not apply always authentication resulting to HTTP 401 responses #854

Open siavelis opened 1 week ago

siavelis commented 1 week ago

Hello!

There is an issue in the authentication logic, as it is not always applied.

How to reproduce:

Result:

Possible workaround/fixes:

Versions used:

ricardozanini commented 1 week ago

@siavelis, we recently changed the way we generate the authentication code. Was it working before version 2.5.0?

siavelis commented 1 week ago

@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

ricardozanini commented 4 days ago

I'll take a look once I have the time. If you can, please, send a PR to fix it.