novu issue
@all i use self hosting in ubuntu server but we hit the my domain url/auth/login we are getting cors error how can we solve this?
9 Replies
Hi @pragesh p, I'm an AI assistant for Novu. While a team member reviews this question, I'll look through relevant sources and see if I can provide suggestions. Please tag @Ask Inkeep with any follow-up questions.
-----------------------------
While I generate an answer, here are some sources that might be helpful:
* Object Storage (S3, Blob, GCS)
* How To Integrate Segment With Novu
* Run Novu in local machine
* Others
-----------------------------
Answer
To address the CORS error when using Novu's API from the browser, it's essential to understand that Novu's APIs are designed for server-side use. Attempting to use them directly in a client-side application can lead to CORS errors because of security and integrity purposes. For client-side interactions, consider using Novu's client-side libraries designed for fetching in-app notifications without encountering CORS issues (1) (2) .
For a detailed solution or adjustments, please check the documentation or configurations related to the server-side setup and ensure proper handling of CORS policies if applicable on your server or proxy configuration.
Got it. Tagging @Support for additional help.
@Support
@pragesh p
Checkout self hosting guide video on our documentation to learn on how to change
HOST_NAME
value with yours ip/dnsi follow this video but we are getting connection timeout and cors issue
i already set reverse proxy in nginx and also change hostname in .env
@pragesh p, you just advanced to level 1!
could you assist me what's a next?
@Pawan Jain
@Novu_Bot