Cors Error No 'Access-Control-Allow-Origin' header is present on the requested resource

Hi @Alwin-dotcom,

Thanks for sharing the debug logs. I have reviewed them and do not see any errors.

Ultimately, there seems to be an issue with how the origin of your request does not match the one requesting it and is missing CORS headers. Your logs clearly show that your origin is localhost:3000 and that you are making requests to localhost:8080. This requires proper CORS configuration on the Quarkus backend to allow the request. The logs also confirmed that the request was sent but do not indicate whether the backend responded with the required CORS headers.

Additionally, I noticed in your Quarkus applications.properties that you currently use a wildcard for dev.quarkus.http.cors.origins=/.*/, which does not explicitly reference the origin of the request, specifically localhost:3000.

I suggest explicitly referencing the origin of your frontend to ensure you have CORs correctly configured on your Quarkus backend.

Thanks,
Rueben

Once that’s done, you should get an access token to