Quarkus upgrade from 2.9.2.Final -> to 2.16.2.Final is causing '403 CORS Rejected - Invalid origin' #31164
Unanswered
kirankolli-addepar
asked this question in
Q&A
Replies: 1 comment
-
@kirankolli-addepar HTH |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have an existing quarkus application with RestEasy Reactive , agroal and a few more extensions.
As soon as I upgraded from 2.9.2.Final to 2.16.2.Final all my Rest Resources started rejecting requests with HTTP code 403 CORS Rejected - Invalid origin.
I have set the below properties :
quarkus.http.cors=true
quarkus.http.cors.origins=http://([a-z0-9\.\:\-_]*)
Note - I have also tried by removing the 'quarkus.http.cors.origins' property but that did not help.
The requests go with the Http Header :
Origin: http://localhost:
What should I do to resolve this issue ?
Tagging experts : @radcortez
Beta Was this translation helpful? Give feedback.
All reactions