Internal Server Error when deployed to AWS

My Nextjs app works locally and when deployed to Vercel, however when I deploy to AWS via SST I am getting 500 internal server error for anything auth related. Is there anything special I have to do to get better auth to work in AWS Lamgda?
2 Replies
ItsTeegj
ItsTeegjOP3w ago
I have the baseUrl set for both auth and authclient to my cloudfront url.
ItsTeegj
ItsTeegjOP3w ago
Cloudwatch is showing no errors. The only errors that show up are when I try to do anything with auth client which shows up as such as seen in the attached screenshot
No description

Did you find this page helpful?