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
RestAssured tests fail with 401 authentication error when the endpoint has OAuth2 activated. The test was setup like the example in the Quarkus guide.
I used Wiremock request listener to get some insight of what's happening. In Quarkus versions pre 3.13.3 there's a http request to the exposed stub. After 3.13.3 there's not. Nothing else is different.
Tested with 3.13.3 and 3.14.1
Expected behavior
When the OAuth2 is activated the endpoint should do a request to the specified introspection url when it's called.
Actual behavior
When the OAuth2 is activated the endpoint seems to not do any request to introspection.
How to Reproduce?
Use Quarkus 3.13.3 or later, resteasy-multipart and elytron-security-oauth2.
Describe the bug
RestAssured tests fail with 401 authentication error when the endpoint has OAuth2 activated. The test was setup like the example in the Quarkus guide.
I used Wiremock request listener to get some insight of what's happening. In Quarkus versions pre 3.13.3 there's a http request to the exposed stub. After 3.13.3 there's not. Nothing else is different.
Tested with 3.13.3 and 3.14.1
Expected behavior
When the OAuth2 is activated the endpoint should do a request to the specified introspection url when it's called.
Actual behavior
When the OAuth2 is activated the endpoint seems to not do any request to introspection.
How to Reproduce?
Output of
uname -a
orver
Linux 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 GNU/Linux
Output of
java -version
openjdk version "21.0.1" 2023-10-17 LTS OpenJDK Runtime Environment Temurin-21.0.1+12 (build 21.0.1+12-LTS) OpenJDK 64-Bit Server VM Temurin-21.0.1+12 (build 21.0.1+12-LTS, mixed mode, sharing)
Quarkus version or git rev
3.13.3+
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.7 (8b094c9513efc1b9ce2d952b3b9c8eaedaf8cbf0)
Additional information
No response
The text was updated successfully, but these errors were encountered: