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 ...

Get Serverless Single Page Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.