Notes In Identity As A Service

Notes In Identity As A Service

On this post, I will add my notes while using Identity as a Service e.g. AWS Cognito, OKTA, Auth0 etc

ID as a service, you still have to write complete user management by wrapping part of Cognito. this Cognito reduce your token management, MFA and storing user details as ids etc , and help on defining IAM based accessing to the other AWS components

In China AWS doesn’t work, so Okta or Tencent or any other service etc, Another thing, If any enterprise who do not want to use any cloud, just want to keep everything in premises

Do not treat Identity as a service to User Management, Roles etc. IaaS is a part of user account management.

Few screenshots of AWS Cognito :

AWS Cognito
AWS Cognito
AWS Cognito
AWS Cognito
AWS Cognito
AWS Cognito

 

Github references :

https://github.com/bis-hack/bishack.dev

https://github.com/oluu/authentication-service/blob/1c2033ea7730fe84002fb71023a2a6caedb551e0/authentication/authenticate.go

Implements authentication against AWS Cognito the same way as the client browser does (so you don’t need the AWS IAM credentials to call the API).

https://github.com/dacz/cognitoclientgo

Go Blob Storage FTP Server
AWS, Go, Docker Blob Storage File Server

How do you expose static files in the cloud? Learn the architecture of containerized FTP Server built in GoLang. The FTP server will feature a Docker container, blob storage API access to AWS S3 and Cognito for OAuth authentication.

https://github.com/szahn/BlobStorageFtpServer

CLI Tools to manage servers and secure connections to them, have cognito

https://github.com/kochie/guardian

https://github.com/kochie/guardian/blob/master/template.yaml

https://github.com/leonidasroberto/Beta_cognito_GO

https://github.com/joonilkim/gstaad/blob/30f8b4d74b3492b58337672fa43237f957189062/src/userservice/cognito/main.go

https://github.com/Khmer495/cognito_test_go_sdk

Cognito Auth is a Go package for authenticating with AWS Cognito from the command line, retrieving temporary, limited-privilege credentials for AWS Identity and Access Management (IAM).

https://github.com/skpr/cognito-auth

cmd.Login(app)
cmd.Logout(app)
cmd.GoogleLogin(app)
cmd.ForgotPassword(app)
cmd.ConsoleSignIn(app)

https://github.com/kimpepper/login/blob/ca2e27a9d0f58b7f943978e8280020342376ec32/pkg/credentials_resolver/credentials_resolver.go

https://github.com/odvcencio/car-rental-admin-backend

This function handles exchanging the Auth flow token for valid IDP tokens from AWS Cognito

https://github.com/charles-d-burton/cognito-refresh

This application can be used to give users the ability to upload files to non-public buckets in AWS S3 without provisioning IAM credentials.

The application leverages AWS Cognito User and Identiy pools to do so. This means a Cognito User Pool associated with an Identity pool is required and the Ids of said resources should be passed to the parameters of the application.

https://github.com/mitchelldavis/s3fileuploader

// AWSCognito methods interface
type AWSCognito interface {
Init() error
SecretHash(string) string
SignUp(string, string, string, string) (*cogIdp.SignUpOutput, error)
SignIn(string, string) (*cogIdp.InitiateAuthOutput, error)
GetUser(string) (*cogIdp.AdminGetUserOutput, error)
ConfirmSignUp(string) (*cogIdp.ConfirmSignUpOutput, error)
ValidateToken(string, map[string]JWKKey) error
ForgotPassword(string) (*cogIdp.ForgotPasswordOutput, error)
ConfirmForgotPassword(string, string, string) (*cogIdp.ConfirmForgotPasswordOutput, error)
ChangePassword(string, string, string) (*cogIdp.ChangePasswordOutput, error)
}

https://github.com/rcholic/CognitoREST/blob/3beece85d3107af0af5793f71817811769a10d0e/services/CognitoClient.go

A language-agnostic Cognito client for doing user authentication in your app with AWS Cognito. This project is a spin-off from one of my personal projects that have Web, iOS, and Android app clients. I thought this would be useful to those who have similar needs as my project.

https://github.com/rcholic/CognitoREST

 

AWS Cognito + Lambda(golang) + Dynamodb + React based chat application with WebRTC Video Calling support

https://github.com/praveen001/go-chat

https://github.com/praveen001/go-chat/blob/cb41b4cbeb4368055c820b3885805497250519bd/controllers/user_controller.go

Golang Authentication With AWS Cognito – Complete

https://github.com/EricLau1/go-with-cognito

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s