You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have a React app accessing a lambda function and the react app is hosted on amplify. When the react app is run on my local machine it passes the Cors checks and everything is fine; however once it is hosted on amplify the Cors headers check fails. The code just uses fetch on the api. Everything works on Chrome, but not Safari.
Screenshots
Here is the console log on Safari
What is Configured?
The lambda function returns allow headers, allow origin and access credentials true for both GET and OPTIONS calls and can be verified in postman
The text was updated successfully, but these errors were encountered:
Describe the bug
I have a React app accessing a lambda function and the react app is hosted on amplify. When the react app is run on my local machine it passes the Cors checks and everything is fine; however once it is hosted on amplify the Cors headers check fails. The code just uses fetch on the api. Everything works on Chrome, but not Safari.
Screenshots
Here is the console log on Safari
What is Configured?
The lambda function returns allow headers, allow origin and access credentials true for both GET and OPTIONS calls and can be verified in postman
The text was updated successfully, but these errors were encountered: