O'Reilly logo

Serverless Single Page Apps by Ben Rady

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Connecting to External Identity Providers

The identity access systems created by Google, Facebook, and other providers are (somewhat loosely) based on the OAuth2 standard, which allows web apps and other clients to gain temporary access to information via HTTP. While the standard itself has some serious problems,[40] the implementations created by the major vendors are well understood at this point, and offer many integration opportunities.

Using Cognito to manage these interactions for us means we can avoid some of the problems of OAuth2 while still taking advantage of the benefits. First, we’ll need to get a unique identifier from the identity provider. Each provider has its own method for doing this. Once we’ve got that ID, however, we can ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required