Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sign out - How can I sign out using Cognito-at-edge? #37

Closed
George-Saad opened this issue Jun 16, 2022 · 1 comment
Closed

Sign out - How can I sign out using Cognito-at-edge? #37

George-Saad opened this issue Jun 16, 2022 · 1 comment

Comments

@George-Saad
Copy link

How can I sign out using Cognito-at-edge?
Is there any way to do it using the library, or do I need to do it using cloudfront-authorization-at-edge.

I am using React for the front-end, and am looking for best practice in this case, I think also using Amplify is an option here right?

@jeandek
Copy link
Contributor

jeandek commented Jun 16, 2022

Hi @George-Saad,

The library currently does not support logging out (see #8). That issue contains a suggestion as to how you might implement this in your project using Lambda@Edge. Amplify would work as well if you are using it on the frontend.

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants