Closed Bug 1143424 Opened 10 years ago Closed 8 years ago

CORS error when using API with token via XHR

Categories

(Socorro :: Webapp, task)

x86_64
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: kairo, Unassigned)

Details

When trying to use the API with a token from XHR, I get the following CORS errors: Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://crash-stats.mozilla.com/api/CrontabberState/. (Reason: missing token 'auth-token' in CORS header 'Access-Control-Allow-Headers' from CORS preflight channel). Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://crash-stats.mozilla.com/api/CrontabberState/. (Reason: CORS request failed). This can be tested via https://crash-analysis.mozilla.com/rkaiser/crash-report-tools/score/?token=foo (replace "foo" with your actual token)
Component: General → Webapp
curl -v https://crash-stats.mozilla.com/api/CrontabberState/ ... Access-Control-Allow-Origin: *
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.