{"repo":"jamaybyrone/Next-Auth-Custom-Cognito","free":true,"listed":false,"github":"https://github.com/jamaybyrone/Next-Auth-Custom-Cognito","clone":"git clone https://github.com/jamaybyrone/Next-Auth-Custom-Cognito.git","description":"Two applications built using NextJS Multizones . Using NextAuth along side AWS Cognito with a custom signin to a protected members area.","language":"TypeScript","stars":10,"topics":["aws","cognito","cognito-user-pool","nextauth","nextjs","next16"],"license":null,"category":"auth-billing-email","readme_excerpt":"Next Auth Custom Cognito Signin, with additional providers. Prerequisites You will need to have an Amazon Cognito Userpool and a PostgreSQL created prior to this. You can find the SQL schema in the SQL folder. If you do not want to use GitHub and or Google Signin, you can disable this in the .env by setting the enabled flags to 0. Description This project shows how to create a web application which utilizes next auth as an authentication layer. The ability of signing in and registering etc is using a Cognito Userpool and amazon-cognito-identity-js. The app does make use of other providers from NextAuth such as github and google, these can be controlled using env variables. Using cognito, users are able to signin, signup, confirm account, forgot password and change password all using a custom journey. There are two applications in this project called 'main' and 'members', main is the signin, signup etc application.. whereas members is a protected area only accessible once logged in. Once users are signed in, they're put into a very simple user table in PostgreSQL. All signed-in users sessions are stored in a logged in history table. This gives you traceability across devices and accounts. So if you come across a bug, raise a PR!, if you think there is a better way of doing something, raise a PR! This entire project is supposed to aid folk in building a protected area using AWS Cognito and next auth, by all means copy this repo and code, but if you can improve it and help other","default_branch":null,"files":null,"tree":[],"storefront":"/r/jamaybyrone","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jamaybyrone/Next-Auth-Custom-Cognito/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}