AWS Security Blog How to add authentication to a single-page web application with Amazon Cognito OAuth2 implementation In this post, I’ll be showing you how to configure Amazon Cognito as an OpenID provider (OP) with a single-page web application. This use case describes using Amazon Cognito to integrate with an existing authorization system following the OpenID Connect (OIDC) specification.
Read full article on AWS Security Blog