ALB authentication with G Suite SAML using Cognito

You can learn a lot by kicking the tires on software. I work on identity systems, so I wanted to take AWS Cognito out for a spin. In this post, I’ll describe my experiment with Cognito to use G Suite SAML for ALB authentication, and how an encoding bug turned my joyride into a flat tire.

G Suite SAML to OpenID Connect with ALBs using Cognito Authentication
Terraform for ALB with Cognito authentication rule
JavaScript to verify Cognito token from ALB

Security for the people.

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