AWS console login via Cognito
Channel: Dario Ferrer
Date: 2021-06-03

There is a way of log in into the console using AWS Cognito, the key bits to understand here is that you get IAM STS temporary credentials from Cognito and that you can generate a passwordless login URL exchanging the STS credentials for a Signing token using the AWS Federation API.
Terraform and Lambda (Golang) code: https://github.com/WCMinor/console_cognito_login