✒️
poocho • documentation
  • Introduction
  • Basics
    • To Do
    • Logins
    • Table of Contents
  • Useful Commands
  • Environments
    • Local Environment Setup
      • macOS setup
      • Routes
    • Remote Server Setup
      • Server Setup
      • Client Environment
    • AWS Cognito Setup
    • Dockerhub
  • Server Info
    • Application
      • ** NATS
      • Dependencies
      • Main Stack
    • Server Information
      • Continuous Integration
      • Servers
        • Amazon Web Services
        • Digital Ocean
      • Code Repositories
      • Domains In Use
      • Email Settings
      • Domain Hosts & Registration
        • Domain Registrar (NameCheap)
        • DNS Host (Cloudflare)
        • Email (Gsuite)
    • External Services
      • Landbot.io
      • Flow.ai
    • Amazon Web Services (AWS)
      • AWS EC2/EBS
      • AWS Simple Email Service
      • AWS Cognito (v2)
      • AWS Cognito
      • AWS Lightsail
      • AWS Route 53
  • Code & Documentation
    • Client
    • Functions
    • Server
Powered by GitBook
On this page

Was this helpful?

  1. Environments

AWS Cognito Setup

AWS Cognito Settings

This will be updated

  • Go to Amazon Cognito

  • Click Manage User Pools

  • Click Create a user pool

  • Name: Fill out the Pool name with what you want and click Step through settings.

  • Attributes:

    • Username:

      • Check Also allow sign in with verified email address

      • Check Also allow sign in with preferred username (a username that your users can change)

    • Required

      • email

      • family name

      • given name

        we can add more fields, but need to update backend code in that case.

  • Policies

    • Select Allow users to sign themselves up

  • MFA and verifications accept the defaults and click next.

  • Message Customizations: accept the defaults and click next.

  • Tags: accept the defaults and click next.

  • Devices: accept the defaults and click next.

  • App clients: click add an app client

    • App client name: give the client a name

    • UNCHECK generate client secret

    • Click next

  • Triggers:

  • Create the pool:

••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••

  1. Policies; Setting Password options & click Save Changes; you can use this by default.

  2. MFA and verifications: let's use this by default.

  3. Message customizations: we can change these options anytime.

  4. Tags: let's skip this step

  5. Devices: You can choose any one what you want. In my case, it was No.

  6. App clients: You should add an App client

  7. Triggers; let's skip this step.

  8. Click Create Pool

  9. Domain name: you can fill out with random word.

  10. Click General settings to get User Pool ID and use it for AWS_POOL_ID in /.env.

  11. Click App clients to get app client id and use it for AWS_CLIENT_ID in /.env.

  12. that's it

PreviousClient EnvironmentNextDockerhub

Last updated 5 years ago

Was this helpful?