Here you can find information on integrating your React app with User Pool and Identity Pool based Social-Sign-in such as Google, Facebook, Apple etc.

There are primarily two ways to authenticate users of your web/mobile application with AWS client while using Social Sign-in:

I will skip the details of User Pool and Identity Pool. Here is some high level information:

In most common scenarios…


I wanted to move the AWS Cognito setup to Terraform however, I couldn’t find any tutorial or instructions on how to do so with Cognito settings mapping to Terraform’s aws module.

You can find below the settings of AWS Cognito mapped to Terraform modules.

Note: you can find the terraform code at: https://github.com/chandan-singh/terraform-aws-cognito

General settings

Policies

maps to

# Terraform 1.0.3 & aws 3.xresource "aws_cognito_user_pool" "pool" {
...
password_policy {
minimum_length = 8
require_numbers = true
require_symbols = false
require_lowercase = true
require_uppercase = true
temporary_password_validity_days = 7
}

admin_create_user_config {
allow_admin_create_user_only = false
}
...
}

MFA and verifications


Upgrade Terraform 0.12 to version 0.13

# Check Terraform version
terraform -v
# Update Homebrew
brew update
# Install version 0.13
brew install terraform@0.13
# If you need to have terraform@0.13 first in your PATH, run:
echo 'export PATH="/usr/local/opt/terraform@0.13/bin:$PATH"' >> ~/.zshrc
# Reload shell
source ~/.zshrc
# Change your working directory where your terraform files are
cd <your folder>
# Run command to auto upgrade to 0.13
terraform 0.13upgrade
# Look at your changes in source code editor
# Use your version control system to review the proposed changes, make any necessary adjustments, and then commit.

Remove version information from the old AWS configuration

provider "aws"…


Goal

Control your computers with one mouse and keyboard so that you can use your favorite keyboard and mouse across multiple computers.

Problem

WFH (work from home) is a norm these days due to the pandemic situation. If you are a developer, there is a high possibility that you are using multiple computers for your work.

You need to switch from one computer to another. It’s a hassle to shift from one set of keyboard and mouse/touchpad to another.

Solutions

These are:


Goal

Get rid of intrusive ads, online tracking, and protect your computer from malware with a simple setup for all the devices on the home network.

Problem

Website ads: Its very annoying to see that many websites (mostly free news websites) are increasingly serving intrusive ads. Not only that, the ads are repetitive and sometimes very displeasing.

Mobile/tablet In-app ads: These ads are not limited to the websites. Open a fairly popular local news app and you will see ads. Many free apps are overloaded with the ads. Not just ads, these apps also track and monitor your searches/uses.

Other Issues:


Source: https://github.com/chandan-singh/one-on-one/blob/master/README.md Please send pull-requests if you have suggestions to improve.

The one-on-one meetings are vital for organizational growth. Many people-managers overlook the benefits of one-on-one meetings. One of the main reasons is, the manager uses a set of similar 3–10 questions repeatedly. The repetition of questions makes the meeting boring for both, manager and subordinates.

You can easily find many excellent resources and recommendations for the questions that can be used in one-on-ones. Here is the consolidated list of the sample questions which you can readily use in your conversations.

Opening Questions

Chandan Singh

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store