Web API : Invalid Origin


I try to build a dashboard that require some Sentry data, but when I perform a request from my browser, I always get an Error 400 BAD REQUEST with message: Invalid origin: http://localhost:8888.

Where can I setup the allowed web origin for the Web API ?

Here is the code

const result = await axios.request({
method: ‘get’,
baseURL: ‘https://sentry.io’,
url: /api/0/projects/myorg/project-name/issues/,
headers: {
Authorization: ‘Bearer xxxxxxxxxxx’,
query: {
statsPeriod: ‘7d’,