aws-cognito-next

This is an example showing how to use aws-cognito-next.

The source code of this website is at @dferber90/aws-cognito-next-example-app.

The special feature of this setup is that even authenticated pages can be rendered server-side. This is made possibly by setting Amplify (and Cognito) to use cookies instead of localStorage. Notice also how the login state is synced seamlessly across multiple tabs.

A complete guide of how to set everything up can be found in this article.

Navigation

Example sign in

Your email address will not be shared. You will not get any spam. It is only needed for the example.