awslabs / cognito-at-edge

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

added optional disableCookieDomain parameter #11

Closed jwwheeleriv closed 2 years ago

jwwheeleriv commented 2 years ago
* add disable cookie domain attribute as optional
 - in case app needs to exclude domain attribute
   which is more restrictive (ie. not allow subdomains)
 - defaults to false to maintain backwards compatibility
    (ie. include domain if false or not specified).

* add (Optional) to the disableCookieDomain param documentation

Issue # (if available):

Description of changes:

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