question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CORS issue with all APIs

See original GitHub issue

@MrRefactoring Thanks for your great work on this. Sorry this might be a dumb question as this CORS issue happens to me.

Screen Shot 2020-09-22 at 11 38 16 am

Could you please help me? Or is there a way to bypass this?

FYI, I do test my apiToken and it works fine in Postman.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
minhduc-nguyencommented, Sep 22, 2020

@MrRefactoring thanks for your response. I did contact my JIRA Admin and he couldn’t add the url to the allowed domains (whitelist, or app links) in the system settings as that requires a premium account. I think I’ll just keep using the hack above as it’s just used my personal web app. Cheers.

0reactions
BakulTessellcommented, Jan 8, 2022

With JIRA cloud. I found some answers that with JIRA cloud, I need to use OAUTH2, but that only works for apps. I have my own webapp, a SaaS service, and the JIRA API call is happening transparent to the user. I can’t redirect my customer to JIRA auth site.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CORS errors and how to solve them - Topcoder
Or, your API fails and shows a CORS error in the console. · This happens because the same-origin policy is part of the...
Read more >
3 Ways to Fix the CORS Error — and How the Access-Control ...
Why was the CORS error there in the first place? ... The error stems from a security mechanism that browsers implement called the...
Read more >
A Guide to Solving Those Mystifying CORS Issues
An 'issue with CORS' occurs when the API does not reply to such request with, 'Yes, dear browser, you are allowed to do...
Read more >
What Is a CORS Error and How to Fix It (3 Ways) - Bannerbear
As a CORS error occurs when the external API server doesn't return the HTTP headers required by the CORS standard, you can add...
Read more >
How to solve CORS error while fetching an external API?
The server you're fetching from, needs to set it's Access-Control-Allow-Origin to * or similar. · The header needs to be set on the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found