-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Description
📜 Description
I have
- novu service v0.24.0 (https://novu-api.some-domain.com)
- my next.js application (https://staging.app.some-domain.com)
I use @novu/react and Inbox for showing user notifications from novu service (1).
And get a CORS error
Access to fetch at 'https://novu-api.some-domain.com/v1/inbox/session' from origin 'https://staging.app.some-domain.com' has been blocked by CORS policy: Request header field novu-api-version is not allowed by Access-Control-Allow-Headers in preflight response.
👟 Reproduction steps
- Deploy novu with Docker on AWS EC2.
- Deploy my next.js application on AWS ECS.
- Try show notification in the app. The app is showing widget.
- I have the error on an endpoint: novu-api.some-domain.com/v1/inbox/session. Other API endpoints are working correctly.
👍 Expected behavior
Return OK on novu-api.some-domain.com/v1/inbox/session and show my notifications.
👎 Actual Behavior with Screenshots
Novu version
0.23.0, 0.24.0
npm version
No response
node version
No response
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?
- I checked and didn't find a similar issue
🏢 Have you read the Contributing Guidelines?
- I have read the Contributing Guidelines
Are you willing to submit PR?
None
Metadata
Metadata
Assignees
Labels
No labels
