cachethq / cachet

🚦 The open-source status page system.
https://cachethq.io
MIT License
13.79k stars 1.55k forks source link

CORS issue with sharepoint #4217

Closed nickdrewerbeumer closed 11 months ago

nickdrewerbeumer commented 3 years ago

We're currently trying to implement the cachet API in our Microsoft Sharepoint environment. The target is to show our users an overall status with one sentence on the intranet landing page.

Our current problem is, that we always getting an CORS issue in the browser API when running the request in sharepoint: image

`fetch("https://status.beumer.com/api/v1/ping", {

  | "method": "GET",   | "headers": {   | "X-Cachet-Application": "BEUMERGroup IT Status"   | }   | })   | .then(response => {   | console.log(response);   | })   | .catch(err => {   | console.error(err);   | });`

We've tried it with empty security CORS setting which should allow all requests by default and as well with set domain(s) in the security settings. With Postman the API is working in general.

Does anyone know something which could help or do have anyone knowledge about Cachet API with Sharepoint?

Many thanks in advance!

Kind regards, Nick Drewer

welcome[bot] commented 3 years ago

:wave: Thank you for opening your first issue. I'm just an automated bot that's here to help you get the information you need quicker, so please ignore this message if it doesn't apply to your issue. If you're looking for support, you should try the Slack group by registering your email address at https://cachethq-slack.herokuapp.com. Alternatively, email support@alt-three.com for our Professional support service (please note, this a paid service.) If you're issue is with documentation, you can suggest edits by clicking the Suggest Edits link on any page, or open an issue at https://github.com/CachetHQ/Docs

borankoeruek commented 3 years ago

Same issue here.

jbrooksuk commented 11 months ago

Thank you for your input on Cachet 2.x. We are shifting our attention and resources to Cachet 3.x and will no longer be supporting the 2.x version. If your feedback or issue is relevant to the 3.x series, we encourage you to engage with the new branch.

For more information on the Cachet rebuild and our plans for 3.x, you can read the announcement here.

We appreciate your understanding and look forward to your contributions to the new version.