awslabs / cognito-at-edge

Serverless authentication solution to protect your website or Amplify application
Apache License 2.0
168 stars 54 forks source link

CORS error while redirecting #57

Closed nagendrakumar02 closed 1 year ago

nagendrakumar02 commented 1 year ago

I am getting a CORS error when redirecting from lambda to aws cognito. I have a viewer request attached to the cloudfront.

What did you expect to have happen: request to be redirected to cognito

Environment: