CORS Error with Quarkus Backend and NextJS Frontend

Hi @alizadeh1412,

Whenever you encounter a CORS error, it happens because the login is being served on a different origin than the one requesting it. In these scenarios, you must include the origin to your Allowed Web Origins and include your app’s origin URL in the Allowed Origins (CORS) of your application settings.

I recommend reviewing our Configure Cross-Origin Resource Sharing documentation for information.

Let me also mention that I have checked your tenant logs and did not find any fco (Failed by CORs) or fcoa logs, meaning that the configuration on the Auth0 side looks to be configured correctly and authentication was successful.

If the issue continues, you might need to review the configuration on Quarkus. See the documentation at Cross-origin resource sharing - Quarkus.

Thanks,
Rueben