AWS Cognito API for Golang Authentication
This article will contain a lot of code snippets. All code is retrievable here: https://github.com/fulviodenza/cognito-golang
This is not production-ready code, you should add some other checks, wrap errors from Cognito to make them less user-affordable, integrate Cognito with Amplify and other things we’re not interested in.