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
{{ message }}
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.
After deploying the webapp, when I sign up and then login, the page that is in the screenshot (attached) appears briefly then I get redirected to the login page again.
This seem to be an issue with the CORS policy, do you know how I can solve this?
Thank you!
Reproduction Steps
Error Log
Environment
SAM CLI Version :
OS :
Language :
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered:
The aws-sdk seems to be already included in AWS Lambda (no error about it). However, the xray library seems to be missing (or there is some internal bug).
I tested with NodeJS 14 version of AWS Lambda and the xray library was not available there either.
Workaround fix
I did npm install inside the todo-src\getAllTodo folder then did another sam deploy and it was fine.
The CORS error disappeared.
I created a bash script to do the install of the libraries in all function folders:
cd todo-src/
cd addTodo; npm install; cd ..
cd completeTodo; npm install; cd ..
cd deleteTodo; npm install; cd ..
cd getAllTodo; npm install; cd ..
cd getTodo; npm install; cd ..
cd updateTodo; npm install; cd ..
cd ..
Feedback
Check with the AWS Lambda team on why the aws-xray-sdk-core library is not available.
Hello,
After deploying the webapp, when I sign up and then login, the page that is in the screenshot (attached) appears briefly then I get redirected to the login page again.
This seem to be an issue with the CORS policy, do you know how I can solve this?
Thank you!
Reproduction Steps
Error Log
Environment
Other
This is 🐛 Bug Report
The text was updated successfully, but these errors were encountered: