Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

CORS issue only on Firefox browser

  • Akukho zimpendulo
  • 0 zinale nkinga
  • 5 views
more options

Dear Mozilla Support Team,

I hope this message finds you well. I am reaching out to report an issue related to Cross-Origin Resource Sharing (CORS) in the Firefox browser.

When attempting to logout from my Java Spring application, I encounter the following error message: "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match)." This issue seems to be specific to the Firefox browser, as I am not experiencing the same problem in other browsers.

I have thoroughly checked my web application's code and configurations, and the issue appears to be related to how Firefox handles CORS headers. The server is configured to include the necessary "Access-Control-Allow-Origin" header, and the application works as expected on other browsers.

Steps to reproduce the issue:

Login to the application in Firefox. Click on logout in Firefox. Observe the "Cross-Origin Request Blocked" error in the browser console. (Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://login.mydomain.com/logout. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘https://login.mydomain.com’).

Expected behavior: The remote resource should be accessible without CORS-related errors.

I would greatly appreciate your assistance in resolving this matter. If there are any specific settings or configurations that need to be adjusted in Firefox to address CORS-related issues, please provide guidance on how to do so.

Thank you for your time and attention to this matter. I look forward to your prompt assistance in resolving this issue.

Best regards,

Dear Mozilla Support Team, I hope this message finds you well. I am reaching out to report an issue related to Cross-Origin Resource Sharing (CORS) in the Firefox browser. When attempting to logout from my Java Spring application, I encounter the following error message: "Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match)." This issue seems to be specific to the Firefox browser, as I am not experiencing the same problem in other browsers. I have thoroughly checked my web application's code and configurations, and the issue appears to be related to how Firefox handles CORS headers. The server is configured to include the necessary "Access-Control-Allow-Origin" header, and the application works as expected on other browsers. Steps to reproduce the issue: Login to the application in Firefox. Click on logout in Firefox. Observe the "Cross-Origin Request Blocked" error in the browser console. (Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://login.mydomain.com/logout. (Reason: CORS header ‘Access-Control-Allow-Origin’ does not match ‘https://login.mydomain.com’). Expected behavior: The remote resource should be accessible without CORS-related errors. I would greatly appreciate your assistance in resolving this matter. If there are any specific settings or configurations that need to be adjusted in Firefox to address CORS-related issues, please provide guidance on how to do so. Thank you for your time and attention to this matter. I look forward to your prompt assistance in resolving this issue. Best regards,

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.