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 logout functionality #60

Closed aszniak closed 11 months ago

aszniak commented 1 year ago

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

Description of changes: Creates a behavior that allows to expire cookies and redirect to Cognito /logout endpoint. If there are no cookies present when trying to reach the logout endpoint, redirects to domain (app) root.

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

jeandek commented 1 year ago

Hi Artur, thanks for creating this pull request. I will do my best to review it in the next couple of days.

jeandek commented 1 year ago

Hi Artur, thanks for creating this pull request. I will do my best to review it in the next couple of days.

jeandek commented 11 months ago

Closing as this is redundant with #68 which I just merged.