akil-rails / aws-cognito-http

AWS Cognito with http only cookie.

Home Page:https://www.buymeacoffee.com/cnikolov

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aws-cognito-http

AWS Cognito with http only cookie.

Installation

npm install --save npm run dev

Setup Cognito

Instalation steps

1. Create AWS account and go to the Cognito settings

2. Click Manage User Pools

3. Type pool name and click Step through settings

4. In the attributes tab check the options as below and click next

5. In the policies tab select as below

6. Next in the MFA tab select as below

7. Then in the App clients tab add an app client

8. Afterwards check as below

9. Next two steps you can skip and finally you will see some thing like this

10. Rename sample.env to .env in your root folder

Fill the variables with the one from your aws.

Try it out with Postman

Import the profile in postman and test on your own pace.

Special Credits

ja-klaudiusz who originally wrote the solution to work with nuxt.

About

AWS Cognito with http only cookie.

https://www.buymeacoffee.com/cnikolov

License:MIT License


Languages

Language:JavaScript 98.5%Language:Shell 1.5%