Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 368 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 368 Bytes

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'
    },
...