awslabs / cognito-at-edge

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

Add cache-control & pragma headers to redirect responses #19

Closed ineale2 closed 2 years ago

ineale2 commented 2 years ago

Issue # (if available): https://github.com/awslabs/cognito-at-edge/issues/18

Description of changes: Add cache-control and pragma headers to 302 responses. This is my first time opening a PR for an OS project. I'd suggest updating the package version to 1.2 as well. Apologies, as I'm not sure if that's something I should do in the PR submission or if that is done at the time of merge. Let me know if any update is required.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.