Skip to content

seldebrings/next-cognito-ssr-auth

Repository files navigation

NextJS SSR AWS Cognito JWT Authentication

This is a NextJS boilerplate with SSR compatible, httpOnly cookie based AWS Cognito authentication using Redux for state management.

Configuration

In next.config.js

...
    env : {
      USER_POOL_ID: 'xxxxxxxxxxxxxxxxx',
      CLIENT_ID: 'xxxxxxxxxxxxxxxxxxxxxxxx'
    },
...

About

NextJS SSR AWS Cognito JWT Authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published