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

Fetching a Google Identity

One of the differences with an app that uses an identity provider is that users don’t log in—at least, not in the traditional sense. Because we’re federating identities through Cognito, users can connect to our application through an identity provider, and we never have to deal with reading or storing passwords. For that reason, we don’t need a login page, but we do need a way for users to connect using whatever identity they might want to use. For now, we’re just going to continue working with Google identities, but you can add more for your users if you like using a similar process.

We’ve already created an application in the Google Developers Console and linked it to our identity pool. Now we need to build the actual ...

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